UIScrollView has a property draggingthat indicates whether scrolling has been performed by the user. So, to see that the user is scrolling or scrolling caused by something else (like an animation), you can do the following:
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
if (scrollView.dragging) {
}
}
joern source
share