How to track a rotary gesture
-
28-09-2019 - |
Question
I would like to track a ONE finger rotary gesture how do I intercept that gesture?
To give you a visual example: the same gesture that you would have used with an old disc phone.
Solution
May I suggest the UIRotationGestureRecognizer
class? As long as you don't need to support < iOS 3.2 it will save you much headache trying to build your own gesture recognition mechanism.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow