【问题标题】:iPhone: Can't scroll over a UIWebView contained in a tableViewiPhone:无法滚动包含在 tableView 中的 UIWebView
【发布时间】:2012-12-09 15:49:51
【问题描述】:

我在网上看到了很多类似的问题,我尝试了很多方法,但都没有奏效。

我有一个包含自定义单元格和一些 UIWebViews 的 UITableview,问题是如果在 UIWebview 上开始滚动,我无法滚动 UITableView。

我得到的最接近的方法是将 webView.userInteractionEnabled 设置为 NO,但我无法再访问该链接......

你有什么想法或建议吗?

【问题讨论】:

    标签: iphone objective-c uiwebview ios6 scroll


    【解决方案1】:

    使用:

    webview.scrollView.setuserInteractionEnabled = NO
    

    改为。

    【讨论】:

      猜你喜欢
      • 2012-09-29
      • 2012-06-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-22
      • 1970-01-01
      • 2018-12-10
      • 1970-01-01
      相关资源
      最近更新 更多