UIScroll View Delegate not calling ScrollViewDidEndScrollingAnimation

Gani picture Gani · Dec 28, 2009 · Viewed 12.5k times · Source

I have implemented the UIScrollViewDelegate protocol in my .h file and i have implemented the

- (void)scrollViewDidEndScrollingAnimation:(UIScrollView *)scrollView

method in my .m class. when the scrolling is done in my table view other delegate method of scrollview are getting called, but when scrolling ends, -scrollViewDidEndScrollingAnimation: is not getting called. I am bit stuck in this.

Thanks and regards

Answer

Bogatyr picture Bogatyr · Feb 5, 2011

-scrollViewDidEndScrollingAnimation: is called when a programmatic-generated scroll finishes.
-scrollViewDidEndDecelerating: is called when a user-swipe scroll finishes.