UITableView scrolling problems when inside a UIScrollView

前端 未结 4 881
被撕碎了的回忆
被撕碎了的回忆 2021-01-05 01:06

I have a UIScrollView (with paging) to which I add three UIViews. Each of these UIViews has a UITableView inside. So, the user should be able to scroll horizontally to the p

4条回答
  •  被撕碎了的回忆
    2021-01-05 01:57

    Things I would check:

    1. Check your View Hierarchies - Is something being laid on top of your UITableView, causing it not to receive a tap?
    2. Are your UITableViews being disabled anywhere? I would set a breakpoint in tableView:didSelectRowAtIndexPath: and see if that method is being called.
    3. Check this post

    I guess those aren't sure-fire answers but hopefully they'll help discover the problem!

提交回复
热议问题