user1447414
user1447414

Reputation: 1486

What are the main (technical) difference when developing apps for iOS web view and Safari mobile?

I've struggled to find any reference to web development when it comes to the difference between UIWebView and Safari mobile.

I'be been able to find difference between different browsers, but not between the native iOS web view and Safari mobile.

Upvotes: 2

Views: 893

Answers (1)

Romain Willmann
Romain Willmann

Reputation: 352

I am not sure wether you speak about UIWebView or WKWebView. The last one is available since iOS 8.0 (source: WKWebView doc).

The performance of the old WebView component was lower than a Safari webpage because it was unable to use Nitro JavaScript engine (source: old questions on SO, like this one).

However, the performance of UIWebView/WKWebView was improved continuously since 2014 and there is no more major technical differences, at least between WKWebView and a mobile webpage (source here). The differences between UIWebView and WKWebView are explainded in this SO thread.

Keep in mind that Apple's guidelines forbid some use cases of Webview, like external authentification or purchase :

Apps that link to external mechanisms for purchases or subscriptions to be used in the App, such as a "buy" button that goes to a web site to purchase a digital book, will be rejected

Hope it will help !

Upvotes: 1

Related Questions