Created
January 21, 2014 16:30
-
-
Save PimCoumans/8543312 to your computer and use it in GitHub Desktop.
Prevent UIScrollView from logging "Stop offset can not be modified for paging scroll views"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)respondsToSelector:(SEL)aSelector | |
{ | |
if (aSelector == @selector(scrollViewWillEndDragging:withVelocity:targetContentOffset:)) | |
{ | |
return (!self.scrollView.pagingEnabled); | |
} | |
return [super respondsToSelector:aSelector]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment