Re:Locking in WebKit (2016)
by untog on Monday December 17, 2018 @04:31PM
(#18702393)
WKWebView now does allow that, in a roundabout way, through WKURLSchemeHandler.
[ Parent
| on HN ]
It seems like this can only be used to support URL schemes "that WebKit doesn't know how to handle"?
Yes, you create your own. In my example of the Instagram activity feed you'd point the view at instagram://activity-view or something like that in order to intercept the request and send a custom response. You could use the same method to "proxy" through to HTTP.