diff --git a/React/Base/RCTTouchHandler.m b/React/Base/RCTTouchHandler.m index b2ccdfb64..19af0120d 100644 --- a/React/Base/RCTTouchHandler.m +++ b/React/Base/RCTTouchHandler.m @@ -95,8 +95,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithTarget:(id)target action:(SEL)action // Find closest React-managed touchable view UIView *targetView = touch.view; while (targetView) { - if (targetView.reactTag && targetView.userInteractionEnabled && - [targetView reactRespondsToTouch:touch]) { + if (targetView.reactTag && targetView.userInteractionEnabled) { break; } targetView = targetView.superview; diff --git a/React/Views/UIView+React.h b/React/Views/UIView+React.h index 899110438..45fde2cce 100644 --- a/React/Views/UIView+React.h +++ b/React/Views/UIView+React.h @@ -78,11 +78,6 @@ - (void)reactFocusIfNeeded; - (void)reactBlur; -/** - * Responder overrides - to be deprecated. - */ -- (BOOL)reactRespondsToTouch:(UITouch *)touch; - #if RCT_DEV /** diff --git a/React/Views/UIView+React.m b/React/Views/UIView+React.m index 4489fde30..8aa52fdfd 100644 --- a/React/Views/UIView+React.m +++ b/React/Views/UIView+React.m @@ -242,12 +242,4 @@ [self resignFirstResponder]; } -/** - * Responder overrides - to be deprecated. - */ -- (BOOL)reactRespondsToTouch:(__unused UITouch *)touch -{ - return YES; -} - @end