UnityAds has UIWebView which has been deprecated by Apple

UnityAds has UIWebView it’s been deprecated by Apple since iOS 10.0. When submitting to App Store it’ll complain in App Connect about using a deprecated API.

ITMS-90809: Deprecated API Usage -    Apple will stop accepting submissions    of apps that use UIWebView APIs . See    https://developer.apple.com/documentation/uikit/uiwebview    for more information

Have to update to new API using WebKit’s WKWebView, or what I have done is removed UnityAds from UnityFramework when submitting to AppStore. Unity, any idea when this will be updated? If so needs to be done, Apple will stop accepting submissions soon with this deprecated class.

Note:

In apps that run in iOS 8 and later, use the WKWebView class instead of using UIWebView. Additionally, consider setting the WKPreferences property javaScriptEnabled to NO if you render files that are not supposed to run JavaScript.

According to this thread UIWebView was removed in UnityAds sdk 3.3.0.

I removed Ads and I am still getting rejected by Apple. How can I fix this? @andymads ,I removed Ads as a Package and I am still getting rejected by Apple.

I have downloaded Unity 2018.4 LTS and upgraded project from Unity 2018.3 and it got fixed and submitted with success.