iphoneobjective-ciosuigesturerecognizer

How to detect a circle motion with UIGestureRecognizer


I want to be able to detect someone's finger drawing a circular motion on the screen - as if they were drawing an 'O'. Is this possible with UIGestureRecognizer?


Solution

  • My answer to my question:

    I used this: http://iphonedevelopment.blogspot.com/2009/04/detecting-circle-gesture.html

    .. but turned the CircleView into a custom UIGestureRecognizer. Everything lovely.