4 ms·
What advantage does using WKWebView provide for an app over SFSafariViewController? Is it just the ability to change the color and icons to match the rest of th
by rrdharan 10y ago
What advantage does using WKWebView provide for an app over SFSafariViewController? Is it just the ability to change the color and icons to match the rest of the app's style?
Or are apps generally switching over to SFSafariViewController? Curious to hear some iOS folks' thoughts on the matter since I'm uninformed.
- objclxt 10y agoMost notably apps can inject arbitrary JS into WKWebView, making it much easier to track The user’s actions.
- chrisdroukas 10y agoYou can roll your own browser interface using WKWebView — if (for whatever reason) your app supplements the browsing experience, you'd use WKWebView. SFSafariViewController provides its own Safari-like interface and has an extremely limited set of configuration/customization options.