views:

295

answers:

2

i have implemented scrollviewdelegate protocol in my .h file and i have implemented

  • (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 the scroll view did end scrolling is not getting called. i am bit stuck in this.

thanks and regards

A: 

I had the same problem ... Try using scrollViewDidEndDecelerating instead.

yujean
A: 

Had the same problem. Have used the following in my delegate class:

#pragma mark -
#pragma mark UIScrollViewDelegate
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {

    NSLog(@"lol");
}

works like a charm!

valvoline