I'd like to allow the user to rotate a wheel displayed on the iphone. The center of the wheel is the center of the screen. For now, I manage to rotate correctly in basic situations, following the finger gestures.
However I have troubles when I try to react to "throw" gesture: I can't determine the rotation direction from user touches.
What I do is memorize where the original position in touchBegan and try to figure a direction at touchEnded. But I still have weird cases where the wheel rotates the wrong way...
It's really frustrating ! Does anybody have a solution for this?