Does mobile safari use UIWebView class? - ios

I have error in a phonegap application and in my website when I open it in chrome browser in IOS. I suspect that it happens because of chrome and phonegap use UIWebView class. But there is no errors in mobile safari. So, I would like to know if safari use this class too.

No. Chrome does indeed contain a UIWebView, but most of MobileSafari is built on WebKit.

Related

Deep Links not redirecting to App when using iOS

We set up universal links that work on android but don’t work on iOS when using Safari as the main browser. However, when we tested on Chrome it did work. Is this a known issue

picture element support Chrome on iOS

Checked caniuse.com but I couldn't find anything regarding support for picture element in Chrome on iOS. What's the current support status and where can I find some more info?
http://caniuse.com/#search=picture
Chrome on iOS uses WkWebView which is WebKit. From your link it looks like Safari iOS supports it so Chrome on iOS should too.

What is the browser used by cordova on iOS?

I understand that Android uses the WebView which is based on Chromium (from version 4.4), Does cordova on iOS uses Safari or something else?
Safari for iOS is using WebKit2 (starting from iOS 8).
Details about WebKit2.
This seems to answer to your question.
This plugin makes Cordova use the WKWebView component instead of the default UIWebView component, and is installable only on a system with the iOS 9.0 SDK.
UIWebView is a part of WebKit.
cordova apps use the UIWebView component to load the apps, it's based on safari (WebKit2) but it doesn't include the Nitro javascript engine (the one safari app uses), so your cordova apps will be slower than safari app executing the same code.
Once cordova 4.0 is out, it will include "plugable webviews", that means, you will be able to choose which webview to use from any of the webviews available on the SDK (right now UIWebView and WKWebView)
If you can't wait for cordova 4.0, you can use the WKWebView plugin
WKWebView is based on safari too, but it uses the Nitro javascript engine, so it's as performant as safari app
Here you can read a full article about the comparison between UIWebView and WKWebView
The main difference is, as I mentioned before, WKWebView uses the Nitro javascript engine that is faster than the one used on the UIWebView,
and WKWebview supports IndexedDB and ObjectStore ArrayBuffer.
CSS compability and rendering is the same for UIWebView, WKWebView and safari app

Force open link in Safari (not Chrome or another browser) from HTML5 app on iPhones and iPads?

Let's say someone is viewing our website with Chrome on his/her iPhone. Is there a way to force a link to open in Safari instead of Chrome? We would like to do this to help users install our HTML5 app. We know application URLs can open specific apps. Does Safari have its own application URL?
Thanks.

Ability to embed safari browser in a native mobile application

Is it possible to embed the safari browser or a downloadable browser such as Google Chrome into a native mobile application? For example, the app runs entirely independent, but has the option to open the safari browser within the application, rather than opening the Safari that is installed into the phone.
No, this is not possible in iOS. Use a UIWebView instead.
Use webviews instead and here is a list of 3rd party webviews which have more or less the same as safari iphone https://www.cocoacontrols.com/search?utf8=%E2%9C%93&q=webview

Resources