SSWKURL:Intercept Requests of WKWebView. WKWebView网络请求拦截

时间:2021-05-04 21:12:30
【文件属性】:
文件名称:SSWKURL:Intercept Requests of WKWebView. WKWebView网络请求拦截
文件大小:248KB
文件格式:ZIP
更新时间:2021-05-04 21:12:30
Objective-C SSWKURL Intercept and cache requests of WKWebView. 介绍 网易团队采用了更完整细致(原理相同)的解决方案,建议采用他们的: Features Intercept All Requests of WKWebView. Cache requests. Installation Drag the SSWKURL.h and SSWKURL.m files into your project. Usage Subclass SSWKURLProtocol like NSURLProtol. Implement your own -startLoading: and -stopLoading. Then call [yourWKURLConfiguration ssRegisterURLProtocol:[YourSSWKURLProtocol cl
【文件预览】:
SSWKURL-master
----SSWKURL()
--------SSResourceLoader.m(2KB)
--------SSUtils.m(1KB)
--------SSWKURL.m(12KB)
--------SSUtils.h(302B)
--------SSCache.h(618B)
--------SSCache.m(5KB)
--------SSWKURL.h(650B)
--------SSResourceLoader.h(597B)
----.DS_Store(10KB)
----Demo()
--------.DS_Store(6KB)
--------WechatIMG1822.png(206KB)
--------SSWKURLDemo()
----README.md(1KB)

网友评论