Skip to content

Commit

Permalink
Handle simultaneous recognizers (wix#5029)
Browse files Browse the repository at this point in the history
* Handle simultaneous recognizers

Fixes a crash when tapping on the screen with other gesture recognizers active.

* Remove unneeded respondsToSelector override
  • Loading branch information
jordoh authored and vshkl committed Feb 5, 2020
1 parent 464d084 commit 7122fc9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/ios/InteractivePopGestureDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,4 @@ - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceive
}
}

- (BOOL)respondsToSelector:(SEL)aSelector {
if (aSelector == @selector(gestureRecognizer:shouldReceiveTouch:)) {
return YES;
} else {
return [self.originalDelegate respondsToSelector:aSelector];
}
}

@end

0 comments on commit 7122fc9

Please sign in to comment.