I have created two swipe recognizers: swipeRightRecognizer & swipeLeftRecognizer and one pinch recognizer: pinchRecognizer.
When I pinch in/out, both the pinch event and the swipe left recognizer event are caught.
I have tried
[swipeLeftRecognizer requireGestureRecognizerToFail:pinchRecognizer];
[swipeRightRecognizer requireGestureRecognizerToFail:pinchRecognizer];
but it does not work.
If there is no better way, I am planning to catch the number of touches. I need to distinguish single finger swipe from pinch.
Is there a simple way that I can distinguish pinch gesture from swipe?
touchesintouchBegan? - Raptor