Using UIGestureRecognizer blocks touchUp function


I’m using UIGestureRecognizer to detect and react to 2 fingers doing a rotation gesture it works fine but the OF touchUp methods does not activate when I finish the gesture and take the fingers off the screen, any ideas two to work around this?

If you have your own event handler in your oF app, perhaps pass it the state as well and if its UIGestureRecognizerStateEnded/Cancelled call the underlying touchUp, or just merge your touchUp code into the gesture handler.

whaddya know there’s already an addon for it

cancelsTouchesInView seems like the magic flag