iOS 9.0 UIWebView Behaviour on WiFi

一笑奈何 提交于 2019-12-24 17:34:06

问题


Use-case:

We are using UIWebview to load HTML, contents are different text,images and raw data. We are using NSURLProtocol to observe redirected URLs for UIWebview. We are observing by NSURLConnection, How much data load for each redirected URL.

Delegate Observation:

  • On WiFi for continuous two iteration on UIWebview "loadRequest", 1st iteration works fine, but 2nd iteration few URL take time to load, that URLs are most of image URLs.
  • On Cellular for continuous ten iteration, it will work as expected with same HTML.

Q: Why this is on WiFi, only?

  • We don't have any implementation Network wise.

  • Same implementation works fine on Cellular.

Please let me know, If this any webkit issue for WiFi or any WiFi policy for iOS 9.0.

来源:https://stackoverflow.com/questions/35863295/ios-9-0-uiwebview-behaviour-on-wifi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!