Guest User

Untitled

a guest
Jan 18th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch {
  2. // test if touched view is unbutton
  3.  
  4. if ([touch.view isKindOfClass:[UIButton class]])
  5. {
  6.  
  7. return NO; // ignore the touch
  8. }
  9.  
  10. return YES;
Add Comment
Please, Sign In to add comment