SFSafariViewController needs more customisation

Originator:ab.lastochka
Number:rdar://233393354 Date Originated:
Status:Open Resolved:
Product:iOS Product Version:
Classification:Improvement possible Reproducible:Yes
 
Consider following workflow:
1. User opens url in app
2. App displays URL in SFSafariView controller
3. App wants to give user custom actions for url e.g. "Like" or "Bookmark"

Currently this is only possible using UIActivity and activities. This approach has major downside: functionality is buried into activities menu and hardly accessible to user.

To expose functionality directly to user one would need to use WKWebView and create custom window chrome around it. This approach has another downsides: system content blockers are not available in WKWebView and creating good browser chrome would require some effort. Making WKWebView-based browsing on par with SFSafariViewController is hard.

Having above context, it would be nice to have:
• Ability to add custom toolbar button to SFSafariViewController, 1 or 2 would be suffice
• System content blockers in WKWebView

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!