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

戴老师,有几个地方可能有坑 #5

Open
boycechang opened this issue Jan 17, 2018 · 0 comments
Open

戴老师,有几个地方可能有坑 #5

boycechang opened this issue Jan 17, 2018 · 0 comments

Comments

@boycechang
Copy link

  1. 使用 webview 加载页面没禁用js,可能某些js执行会带来问题,比如弹窗之类。
  2. 中缓存后的 response 使用 NSURLResponse。webview中如果有ajax请求,会导致拿不到正确的header,比如statuscode之类的关键信息。通常ajax异步获取资源都有header的判断,这种情况使用 NSHTTPURLResponse 可能更好。
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

1 participant