From 7122fc9bb2f65bc91c1a02169356751da8f84139 Mon Sep 17 00:00:00 2001 From: Jordan Phillips Date: Thu, 2 May 2019 11:12:59 -0700 Subject: [PATCH] Handle simultaneous recognizers (#5029) * Handle simultaneous recognizers Fixes a crash when tapping on the screen with other gesture recognizers active. * Remove unneeded respondsToSelector override --- lib/ios/InteractivePopGestureDelegate.m | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/ios/InteractivePopGestureDelegate.m b/lib/ios/InteractivePopGestureDelegate.m index 52954152bc6..1e1370ed828 100644 --- a/lib/ios/InteractivePopGestureDelegate.m +++ b/lib/ios/InteractivePopGestureDelegate.m @@ -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