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

戴老师,请教下个问题 #7

Open
Kratos28 opened this issue Jul 25, 2019 · 2 comments
Open

戴老师,请教下个问题 #7

Kratos28 opened this issue Jul 25, 2019 · 2 comments

Comments

@Kratos28
Copy link

发现有些坑.使用wkwebView,发现post请求参数body丢失问题,查看yeatse/NSURLProtocol-WebKitSupport#7, 说可以跟服务端定个协议,WebP 图片改成类似 webp://xxx.com/xxx 这样的形式,然后注册名为 webp 的 scheme 来拦截,但是这个需求服务端那边可能不太愿意改因为太多了。想问下使用WKwebView有没有更好的方案可以解决预加载出现的问题,更快速可以加载网页显示速度.

@ming1016
Copy link
Owner

使用 WKURLSchemeHandler

@Kratos28
Copy link
Author

Kratos28 commented Aug 5, 2019

@ming1016 使用 WKURLSchemeHandler,好像还是要自定义scheme?

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