quickhybrid / quickhybrid-ios

iOS原生端的实现
BSD 3-Clause "New" or "Revised" License
18 stars 14 forks source link

WKWebView 页面不可见时,让web去请求接口失败 #5

Open GuangTingVR opened 4 years ago

GuangTingVR commented 4 years ago

WKWebView 自定义的交互方法 调用后刷新 web 页面的某些接口,但是当WKWebView页面不可见时,让 web 页一调用接口,接口返回200,但是没有数据返回。 很奇怪。有没有遇到的朋友 这是为什么?

GuangTingVR commented 4 years ago

接口报错: Socket: Broken pipe (Write failed)