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?
精彩评论