开发者

TouchMoved is SwipeGesture

I am using swipe gesture recognizer.but when i do touchMoved slowly, swipeGesture event is called…is there anyway to avoid it?i wa开发者_如何学编程nt to do different operation in SwipeGesture and TouchMoved.


Well, there is a property of UIGestureRecognizer called cancelsTouchesInView. If you set that to NO, you will be able to receive touchesMoved events even while tracking a swipe gesture. Is this what you're after?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜