- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
CGPoint newOffset = scrollView.contentOffset;
if (newOffset.y < 0) {
// scrolling to the left, reset offset
[scrollView setContentOffset:CGPointZero];
}
}
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
CGPoint newOffset = scrollView.contentOffset;
if (newOffset.y < 0) {
// scrolling to the left, reset offset
[scrollView setContentOffset:CGPointZero];
}
}