AYMADA
AYMADA

Reputation: 899

iOS method called before scrollViewDidScroll on UITableView

I need to process scroll event on UITableView before it is processed in scrollViewDidScroll method. Is there any way to do that?

Upvotes: 0

Views: 1170

Answers (2)

Vizllx
Vizllx

Reputation: 9246

I used

- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate

This is much more convenient.

Upvotes: 1

Vignesh
Vignesh

Reputation: 10251

Set table.scrollview.delegate to self and override the scrollviewDidScroll method. In the method do your processing before calling [super scrollViewDidScroll].

Upvotes: 1

Related Questions