Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About WKURLSchemeHandler #6

Open
0xxxD opened this issue Jan 5, 2018 · 1 comment
Open

About WKURLSchemeHandler #6

0xxxD opened this issue Jan 5, 2018 · 1 comment

Comments

@0xxxD
Copy link

0xxxD commented Jan 5, 2018

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."

@huangturen
Copy link

*** 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants