开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜