简体   繁体   中英

iPhone: Can't scroll over a UIWebView contained in a tableView

I've seen many similar questions on the web, i've tried many approaches but none worked.

I have a UITableview which contains custom cells and some UIWebViews, the problems is that i can't scroll the UITableView if the scroll starts on the UIWebview.

The closest I got is by setting webView.userInteractionEnabled to NO but then I can't access the link anymore...

Do you have any idea or pointers on how to do it ?

Use :

webview.scrollView.setuserInteractionEnabled = NO

instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM