UIWebView and timeouts

不羁的心 提交于 2019-12-05 06:22:35

You might be interested in watching the UIWebView delegate webViewDidFinishLoading with your own custom NSTimer.

Also if you're having an issue till the server get you the response you can set the timeout for NSURLConnection on requestWithURL:cachePolicy:timeoutInterval:

I figured out that the UIWebView does not use the same NSURLRequest over and over again. So my answer would be, that it's not possible to globally configure a timeout for the UIWebView.

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