File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
renderer/native/ios/renderer/touch_handler Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,9 @@ - (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
364364 }
365365 }
366366
367- HippyAssert (_realTouchBeganViews.count == 0 , @" The touch event is not paired!" );
367+ if (_realTouchBeganViews.count > 0 ) {
368+ HippyLogWarn (@" The touch event is not paired!" );
369+ }
368370
369371 self.state = UIGestureRecognizerStateEnded;
370372 [_moveViews removeAllObjects ];
@@ -446,7 +448,9 @@ - (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
446448 }
447449 }
448450
449- HippyAssert (_realTouchBeganViews.count == 0 , @" The touch event is not paired!" );
451+ if (_realTouchBeganViews.count > 0 ) {
452+ HippyLogWarn (@" The touch event is not paired!" );
453+ }
450454
451455 self.state = UIGestureRecognizerStateCancelled;
452456 self.enabled = NO ;
You can’t perform that action at this time.
0 commit comments