Reputation: 6723
Is there any way to know, when the UITableView scrolled ? I need something that is the same like scrollViewDidScroll in scrollview.
Upvotes: 3
Views: 870
Reputation: 1086
If you set your UITableView's delegate to self
, the view controller should call scrollViewDidScroll()
when the view is scrolled:
myTableView.delegate = self
This works because UITableView
is a subclass of UIScrollView
.
Upvotes: 7