-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
请问下如何以最小的代码侵入使用自己的NSURLProtocol做资源拦截呢? #33
Labels
tip
tip for help coding
Comments
不使用 KKJSBridgeEngine 的话,是不会自动处理 body 丢失的问题的。所以还是需要集成。 你可以使用这个版本(1.1.5-beta9)来做集成,对于资源拦截,你只需要注册自己的资源拦截的 NSURLProtocol 即可。 例如:
|
弹框?你这个链接我在Chrome打开也没有弹框 |
karosLi
added
tip
tip for help coding
and removed
help wanted
Extra attention is needed
labels
Nov 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
之前项目里都是用的原生的WKWebView,主要目的是拦截h5里的请求,现在想用您这个框架解决拦截过程中body丢失的问题,如果用外部代理代码改动量很大,自己新建一个NSURLProtocol好像还是需要使用到KKJSBridgeEngine,能否就这种情况简单给个示例,感谢!
The text was updated successfully, but these errors were encountered: