Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch {
- // test if touched view is unbutton
- if ([touch.view isKindOfClass:[UIButton class]])
- {
- return NO; // ignore the touch
- }
- return YES;
Add Comment
Please, Sign In to add comment