I found my UITableView
can't scroll in iOS 11, so I did some tests in the "cell for row" delegate method:
cell.userInteractionEnabled
to NO
, scrolling works cell.contentView.userInteractionEnabled
to NO
, it doesn't My custom view is in cell.contentView
, so I don't know how to fix it...
I find the solution:
self.tableView.delaysContentTouches = YES;
when I change it to YES, tableView can work like before
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.