ClickCease UiWebView Deprecated API Issue | MMC Global Canada
Get In Touch
4275 Village Center Ct. Mississauga, Ontario L4Z1V3
[email protected]
Ph: +1 (647) 546 8343
Work Inquiries
[email protected]
Ph: +1 (647) 546 8343

If your app still embeds web content using the deprecated UIWebView API, we strongly encourage you to update to WKWebView as soon as possible for improved security and reliability. WKWebView ensures that compromised web content doesn’t affect the rest of an app by limiting web processing to the app’s web view. And it’s supported in iOS and macOS, and by Mac Catalyst. The App Store will no longer accept new apps using UIWebView as of April 2020 and app updates using UIWebView as of December 2020. In this article I want to share the problem in deploying the application on Appstore – TestFlight, got this email from support when I upload.

We identified one or more issues with a recent delivery for your app, *. Please correct the following issues, then upload again.  ITEMS-90809: Deprecated API Usage – New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more. The issue is defined in the AppStore Review Guidelines.

UiWebView Deprecated API Issue

In my case, I am not using webView in the project, Now need to check webView in the project. Go to your project directory and run grep -r UIWebView. command. You will get all the UIWebView references in your project including third-party PODs/SDK/Libraries. Replace UIWebView with WKWebView in your code and if any of your third-party libraries internally using UIWebView, ask their support team to provide an update with WKWebView and replace it in your code with an updated third party library. Usage of old Versions of Pod, Libraries, etc. I saw Firebase using webView service for Authentication using Phone Number, then I checked the pod file of my project it’s using an older version of Firebase Core which is using webView service for Phone Number Authentication, In terminal type: pod disintegrate. Update pod in podfile from FirebaseCore In terminal type: pod install now Firebase Core version is 8 or above. after installing pods clean the product and check again with the terminal by grep -r UIWebView. the command didn’t show review service. It uploaded successfully and get the Test Flight link for the beta version on the application Using WkWebView in Project.

If you want to use WkWebView just import WebKit then make object of WkWebView and make request like that

    let url = NSURL (string: “Your URL”);

    let requestObj = NSURLRequest(url: url! as URL);

    wkWebView.load(requestObj as URLRequest);

This is the basic example of using WkWebView in Swift.


We use cookies to give you the best experience.