Created
December 8, 2014 20:02
-
-
Save mattyohe/1755ae10470ee215bb30 to your computer and use it in GitHub Desktop.
UIScrollView UIButton allow scrolling
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)touchesShouldCancelInContentView:(UIView *)view | |
{ | |
if ( [view isKindOfClass:[UIButton class]] ) { | |
return YES; | |
} | |
return [super touchesShouldCancelInContentView:view]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment