Detecting UITableView scrolling

后端 未结 3 1325
予麋鹿
予麋鹿 2020-12-13 17:04

I\'ve subclassed UITableView (as KRTableView) and implemented the four touch-based methods (touchesBegan, touchesEnded, touchesMoved, and touchesCancelled) so that I can det

3条回答
  •  误落风尘
    2020-12-13 17:29

    You don't need to intercept the event methods. Check the docs for the UIScrollViewDelegate protocol, and implement the -scrollViewDidScroll: or -scrollViewWillBeginDragging: methods as appropriate to your situation.

提交回复
热议问题