I have the same problem. Disabling bouncing does nothing.
UPD:
I still don’t know why this is happening. I checked Apple's PhotoScroller sample, and this thing also happens there. I found this workaround - maybe this is not very good, but it works:
and then just set the content to the correct position:
CGFloat pageWidth = pagingScrollView.bounds.size.width; NSInteger curPage = currentPage; if (firstTapPoint.x > lastTapPoint.x) { //NSLog(@"Going prev page"); curPage = (curPage==0)?0:(currentPage-1); }else if(firstTapPoint.x < lastTapPoint.x){ //NSLog(@"Going next page"); curPage = (currentPage==([self imageCount]-1))?currentPage:(currentPage+1); }else if(firstTapPoint.x == lastTapPoint.x) { //NSLog(@"Staying on the same page"); } //NSLog(@"Current page is %d and the next page is %d", currentPage, curPage); CGPoint finalOffset = CGPointMake(pageWidth * curPage, 0); [scrollView setContentOffset:finalOffset animated:YES];
Then the scroll view scrolls to the right to the position I specified without any “tail bounces”
source share