NSURLProtocol-WebKitSupport icon indicating copy to clipboard operation
NSURLProtocol-WebKitSupport copied to clipboard

About WKURLSchemeHandler

Open 0xxxD opened this issue 7 years ago • 1 comments

Note:If you target iOS 11, you can now use WKURLSchemeHandler to avoid this trick! 😆

But, comment said : "A class conforming to the WKURLSchemeHandler protocol provides methods for loading resources with URL schemes that WebKit doesn't know how to handle itself."

0xxxD avatar Jan 05 '18 17:01 0xxxD

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ''http' is a URL scheme that WKWebView handles natively'

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ''https' is a URL scheme that WKWebView handles natively'

it seems that it is not allowed handle http & https protocol by WKURLSchemeHandler

huangturen avatar Oct 28 '18 12:10 huangturen