Gesture filtering on iOS
How can I block certain gestures from being sent to a UIScrollView? E.g. when the scrollv开发者_如何学JAVAiew 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 :)
You're looking for gesture recognizers. Apple has a pretty good implementation guide.
精彩评论