Created
February 24, 2013 13:38
-
-
Save kishikawakatsumi/5023880 to your computer and use it in GitHub Desktop.
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)gestureRecognizer:(UIGestureRecognizer *)gr | |
shouldReceiveTouch:(UITouch *)touch | |
{ | |
if (gr != myGestureRecognizer) { | |
if ([super respondsToSelector:@selector(gestureRecognizer:shouldReceiveTouch:)]) { | |
return [super gestureRecognizer:gr shouldReceiveTouch:touch]; | |
} else { | |
return YES; | |
} | |
} | |
// myGestureRecognizer の処理... | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment