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

happy-dns如何与UIWebView配合使用? #2

Open
linyize opened this issue Jul 20, 2015 · 4 comments
Open

happy-dns如何与UIWebView配合使用? #2

linyize opened this issue Jul 20, 2015 · 4 comments

Comments

@linyize
Copy link

linyize commented Jul 20, 2015

UIWebView加载网页,是否可以使用这套dns解析?
建议提供相关Sample工程。

@longbai
Copy link
Contributor

longbai commented Aug 3, 2015

这个应该可以通过 NSUrlProtocol 来实现,需要研究下。

@portwatcher
Copy link

WKWebView 呢?它不走 NSURLProtocol 的,应该不行了吧

@longbai
Copy link
Contributor

longbai commented Feb 4, 2016

@portwatcher 这个目前没有发现好办法。

@pingguoilove
Copy link

@linyize UIWebview可以参考一下NSEtcHosts

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

4 participants