KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've got a view and I applied a UIPanGestureRecogniser to this view: UIPanGestureRecognizer *panGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panAnim:)]; [sliderView addGestureRecognizer:panGesture]; [panGesture release]; I can detect and process the gesture just fine. However, I wish to initiate another method once the gesture has ended. I know there are two methods that allow this kind of detection. touchesEnded and touchesCancelled however, I've found that touchesCancelled gets called as soon as the touch becomes a gesture i.e. I move my finger enough to warrant a gesture call and touchesEnded rarely, if ever, gets called. I want to be able to pan left / right and then initiate another function call upon gesture ending. How do I do this?
Tags (comma-separated)
Save Edits
Cancel