开发者

Does [UIWebView loadRequest] block the thread?

开发者 https://www.devze.com 2022-12-29 04:28 出处:网络
I\'ve read up on UIWebView and can\'t find a spe开发者_JAVA百科cific answer to whether or not it can block a thread when loadRequest is called (like NSURL can). I\'ve heard that there is a specific UI

I've read up on UIWebView and can't find a spe开发者_JAVA百科cific answer to whether or not it can block a thread when loadRequest is called (like NSURL can). I've heard that there is a specific UIWebView thread that all UIWebView's try to load using (and as a result that thread will be blocked with a slow load), but will there be any effect on the main thread (or the thread that makes the request)?

It seems like it doesn't, but I just wanted to confirm.


As far as I can tell, it does not. However, it will block any other UIWebViews that are also loading requests.

0

精彩评论

暂无评论...
验证码 换一张
取 消