3 ms·
It is the reverse... Safari uses the webview.
by wslh 2y ago
It is the reverse... Safari uses the webview.
- amelius 2y agoMaybe but that's just semantics.
- saurik 2y agoSort of? Like, the way it at least used to work, is that there was a MobileSafari.app that used the UIWebDocument class from UIKit.framework and which in turn used WebKit. I don't think anyone is expecting Apple to uninstall the UI widgets that are being used by numerous existing third-party applications, and yet it is still meaningful to be able to delete the Safari "app".
- sleepybrett 2y agoIt's not. None of the UI is present in webview. Webview is just the 'rendering pane'.
- wslh 2y agoNo, it is not. Just create an app in Xcode and see that you have a WebView component. Easy to check: https://developer.apple.com/documentation/webkit/webview https://developer.apple.com/documentation/webkit/webview
- deleted 2y ago[deleted]
- leoh 2y agoThis is correct and I don’t understand why it is being downvoted at all. WebKit is a framework, Safari is an application that uses that framework.
- EasyMark 2y agoDon’t they use a more cutting edge/faster version of webview and other browsers like firefox/chrome/brave get an older less optimized version?
- wslh 2y agoYes, (search) indeed they use WebKit [1] [2]. You also have the option to use WKWebView. But in this context you should use WKWebView if you want to access WebKit as a developer and be able to publish in the App Store. If you don't need to be accepted in the App Store you can use WebKit compiling it from the source. [1] https://webkit.org/blog/15443/news-from-wwdc24-webkit-in-safari-18-beta/ https://webkit.org/blog/15443/news-from-wwdc24-webkit-in-saf... [2] https://developer.apple.com/documentation/webkit https://developer.apple.com/documentation/webkit