I have a UIPanGestureRecognizer that I use to track an object ( UIImageView ) under the user's finger. I only care about moving along the X axis, and if the touch dodges above or below the object frame on the Y axis, I want to finish the touch.
I have everything I need to determine if the touch object is in object Y, but I donโt know how to cancel the touch event. Reflect recognizer property cancelsTouchesInView doesn't seem to do what I want.
Thank!
cocoa-touch uigesturerecognizer
Josh French Oct. 14 '10 at 21:43 2010-10-14 21:43
source share