UIRotationGestureRecognizer minimum rotation value
Posted
by dc
on Stack Overflow
See other posts from Stack Overflow
or by dc
Published on 2010-06-10T17:19:59Z
Indexed on
2010/06/10
19:52 UTC
Read the original article
Hit count: 487
Is it possible to set a minimum rotation value necessary for a UIRotationGestureRecognizer
to transition into UIGestureRecognizerStateRecognized
? I'm using multiple recognizers, and my UIRotationGestureRecognizer
keeps getting called with a very small rotation (Between 1 and 15 degrees either direction) rather than my UIPinchGestureRecognizer
.
What I'd like to do is only have the rotation be called if the rotation is within a certain range, otherwise cancel it and let the pinch be called.
© Stack Overflow or respective owner