I have all 4 Swipe gestures registered for my view (Swipe up, down, left and right). I would also like to use the Pan gesture for the same view, but requireGestureRecognizerToFail allows me to specify only one of the Swipe gestures.
Is there a way to do something like this:
[panGesture requireGestureRecognizersToFail: @[swipeUp, swipeDown, swipeLeft, swipeRight]];
Thank you.
First, Take a brief look at this link
If I get u right, u want pan gesture, so:
Then, in
handlePan:u should: