如何停止加载UIWebView [英] How to stop loading the UIWebView
本文介绍了如何停止加载UIWebView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了许多UIWebviews并将其添加到我的视图中。并给出了加载请求。我想停止加载标签= 10的uiwebview。如何实现?
I created number of UIWebviews and add it to my view. And gave load request. I want to stop loading the uiwebview with tag=10. How can this implement?
推荐答案
尝试这样的事情:
UIWebView *webView = [self.view viewWithTag:10];
if(webView)
{
[webView stopLoading];
}
这篇关于如何停止加载UIWebView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文