tableview里面需要用到didSelected方法,所以不能讲tableview的userInteractionEnabled禁用掉(禁用后确实能达成效果,但是cell就无法点击了)
迷茫2017-04-18 09:06:35
According to scrollView's contentoffset
来设置它们在不同位置的滚动,scrollEnabled=NO
或者Yes
关闭或者打开滚动,did scroll
里判断是tableView
还是scrollView
...进行相应的设置.两个都YES好像是会原地踏步滚不动,关掉上面的子视图滚动则父视图滚动,关掉父视图滚动,则子视图滚动...你设置userInteractionEnabled
According to the event response delivery, you must have turned off all the views above this and cannot interact... This is my understanding, please point out if there is anything wrong.