I have an UILongPressGestureRecognizer
attached to the controller's view
. I want to freeze some timers until user holds his finger. The problem is I can't determine when the touch event is ended. Maybe I should use observer on the gesture recognizer's property state
? Or there are other ways to do this?
Brief
On the controller's view
a UIScrollView
(which implements a paged gallery) is placed, pages can be switched by dragging (swiping). Also there is an UITapGestureRecognizer
, also attached to the controller's view
, which handles some other tasks.