【问题标题】:when i press a stop button in web view it should stop loading content当我在 Web 视图中按下停止按钮时,它应该停止加载内容
【发布时间】:2010-09-09 17:40:33
【问题描述】:

我正在使用 web 视图停止按钮来执行此操作,但我想为此编写 ibaction,当我按下它时它应该停止加载内容

如何停止加载网页视图...

【问题讨论】:

    标签: iphone webview


    【解决方案1】:

    来自documentation

    stopLoading

    停止加载接收方管理的任何网页内容。

    【讨论】:

    • stop = [[UIButton alloc] style:UIButtonTypeCustom target:self identifier:stop action:@selector[webView stopLoading]];当我使用它时,会给出语法错误:是预期的
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多