I am trying to use swipe gestures along with some touch logic started / moved / completed. Ideally, it would be nice if:
- User clicks left / right, touches start / move / end. Logic is not called (or canceled).
- For all other cases, touches started / moved / finished logic is called as usual.
Is it possible?
I tried to add the following (based on the process of both the touch event and the gesture recognizer ), but for pressing move / end it is still called:
leftSwipeGestureRecognizer.delaysTouchesBegan = true self.leftSwipeGestureRecognizer.cancelsTouchesInView = false
ios swift
Hhhh
source share