Skip to content

Commit

Permalink
Handle simultaneous recognizers (#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 yogevbd committed May 2, 2019
1 parent 4f519a4 commit a5b9f58
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 a5b9f58

Please sign in to comment.