Open evayuhz opened 4 years ago
Apple supported a new gesture to multi select cells at once in iOS13: https://developer.apple.com/documentation/uikit/uitableviewdelegate/selecting_multiple_items_with_a_two-finger_pan_gesture
But if a user pan left/right with two-finger, cell will swipe to left/right and also enter edit mode, so the UI seems a little wired.
Could you please fix this bug? One way to fix it is in 'MGSwipeTableCell.m' file, add func:
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
and return yes when gestureRecognizer is _panRecognizer and otherGestureRecognizer is 2-finger pan gesture.
_panRecognizer
Thanks
Apple supported a new gesture to multi select cells at once in iOS13: https://developer.apple.com/documentation/uikit/uitableviewdelegate/selecting_multiple_items_with_a_two-finger_pan_gesture
But if a user pan left/right with two-finger, cell will swipe to left/right and also enter edit mode, so the UI seems a little wired.
Could you please fix this bug? One way to fix it is in 'MGSwipeTableCell.m' file, add func:
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
and return yes when gestureRecognizer is
_panRecognizer
and otherGestureRecognizer is 2-finger pan gesture.Thanks