scrollView and tableView

时间:2023-11-15 13:27:14

As we all know, tableView is the subclass of scrollView,  tableView has every properties that scrollView has.

If you put a tableView above a scrollView, then if (sorry,  my English level有限, I will express myself in Chinese after this sentense) scrollView 是可以 上下滚动的,  而tableView 也是上下滚动的,那么 tableview的滚动事件不会被响应,除非 把下面的scrollView  的滚动属性 设置为 NO。