Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do all browsers on iOS use WKWebview or UIWebVIew?

I am curious about third part browser on iOS(Chrome or FireFox)

Does all of them use the WkWebview or UIWebVIew to show then web page, but do many extra work like cache etc?

So, if I want to write a browser on iOS, I must use WkWebview to show the web page and wrapping it to do more stuff?

like image 996
waitianlou Avatar asked Jan 22 '18 12:01

waitianlou


People also ask

Do all browsers on iOS use WebKit?

For those unfamiliar, iOS relies on the WebKit engine, which not only powers Safari but all web content on Apple's operating system. That's because, unlike macOS, iOS apps are required to use WebKit as their browser engine.

Does Chrome iOS use UIWebView?

As of version 48, Chrome for iOS uses WKWebView, which is the same view used in Safari.

Is WKWebView same as Safari?

WKWebView - This view allows developers to embed web content in your app. You can think of WKWebView as a stripped-down version of Safari. It is responsible to load a URL request and display the web content. WKWebView has the benefit of the Nitro JavaScript engine and offers more features.

What is the difference between UIWebView and WKWebView?

Unlike UIWebView, which does not support server authentication challenges, WKWebView does. In practical terms, this means that when using WKWebView, you can enter site credentials for password-protected websites.


1 Answers

Yes, Apple forbids other web engines explicitly (or only allows the WebKit respectively) in § 2.5.6 of App Store Review Guidelines:

2.5.6 Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript.

like image 153
clemens Avatar answered Sep 30 '22 02:09

clemens