Skip to content

Instantly share code, notes, and snippets.

View PimCoumans's full-sized avatar
thinking about making coffee

Pim PimCoumans

thinking about making coffee
View GitHub Profile
@PimCoumans
PimCoumans / gist:8543312
Created January 21, 2014 16:30
Prevent UIScrollView from logging "Stop offset can not be modified for paging scroll views"
- (BOOL)respondsToSelector:(SEL)aSelector
{
if (aSelector == @selector(scrollViewWillEndDragging:withVelocity:targetContentOffset:))
{
return (!self.scrollView.pagingEnabled);
}
return [super respondsToSelector:aSelector];
}