Gesture filtering on iOS

1.4k Views Asked by At

How can I block certain gestures from being sent to a UIScrollView? E.g. when the scrollview receives a gesture, have sent that gesture to my code. If my code finds it of relevance, let the code respond to it. Otherwise, I'd like the code to allow the scrollview to respond to it normally.

I hope this makes sense :)

1

There are 1 best solutions below

1
On BEST ANSWER

You're looking for gesture recognizers. Apple has a pretty good implementation guide.