2 ms·
WKWebView now does allow that, in a roundabout way, through WKURLSchemeHandler.
by untog 8y ago
WKWebView now does allow that, in a roundabout way, through WKURLSchemeHandler.
- saagarjha 8y agoIt seems like this can only be used to support URL schemes "that WebKit doesn't know how to handle"?
- untog 8y agoYes, 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.