I want to listen tableview scrolled down or up, if is it possible, please let me know. thanks.
Asked
Active
Viewed 713 times
0
-
you can always track the contentoffset – Will M. Aug 31 '15 at 14:35
-
UIScrollView has a `scrollViewDidScroll` delegate. – Eric Aya Aug 31 '15 at 14:36
2 Answers
0
In the ViewController that you have set as the delegate for the tableview, you can implement scrollView delegate functions as well as a tableView contains a scrollView.
Swinny89
- 7,273
- 3
- 32
- 52
0
UITableView is subclass of UIScrollView so implementing
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
you will know when the UITableView is scrolled.
Rajat
- 10,977
- 3
- 38
- 55