I don’t understand how you think that two gesture recognizers can work together in this context, but I think you could try looking at
– gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:
delegation method .
Keep in mind that you have 2 gestures, so there are 2 delegates (conceptually, they are implemented by the same method), so you can make one gesture (the first argument) always return NO, and the other YES and see if you can make 2 gesture recognizers work together satisfactorily.
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
if ([gestureRecognizer.view isKindOfClass:[UITableView class]]) {
...
} else {
...
}
}
, ( , ), 2 , , .