Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Do you use uiwebview or webview in apple app?


Asked by Jillian Guevara on Dec 14, 2021 FAQ



Do not use UIWebView or WebView. You can use the WKWebView class to embed web content in your app. To do so, create a WKWebView object, set it as the view, and send it a request to load web content. You can make POST requests with httpBody content in a WKWebView.
Likewise,
This warning was still a warning and would not prevent you from publishing your app at the time. A few months after this, Apple announced that as of April 2020 they reject new apps still referencing UIWebView. For updates to apps the deadline is December 2020. Of course, we want to be ready well before then, and we are.
Thereof, UIWebView is a user interface control used in iOS applications. It allows a developer to add web content to their apps. Examples include the Twitter app which brings up links in tweets rather than opening them in Safari. Let's say you need to display a web page in your app.
Subsequently,
Shortly after the introduction of iOS 13, Apple decided to send out warning messages about the UIWebView deprecation. The warning would read: 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.
One may also ask,
On some answers, people state that they have had their webview app (simple app that only displays a website via webview) approved on app store. On some other answers, they say it's been rejected. What is the actual status on this?