UIScroll View Delegate not calling ScrollViewDidEndScrollingAnimation

Viewed 12869

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

5 Answers

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

I had the same problem and the issue was i did not include the delegate code:

self.myScrollView.delegate=self;

Hope this helps someone as well.

Related