Featured iPhone Development Resources iOS Development Tutorials

Tutorial: Creating A One Figure Rotation Gesture Recognizer For A Rotary Knob Control On iOS

In the past I’ve mentioned a few open source iOS controls for creating rotary knobs, but have never gotten into creating a gesture recognizer enabling this type of user control.

Today I came across a tutorial explaining the math needed to create this type of control, and doing so using a gesture recognizer.  This approach is also slightly different in that you can’t slide anywhere in the knob area, but rather click a point in the control and move that point within the knob.

The tutorial is from Melle and can be found on his website here.

An interesting read if you’ve wanted to know how to how to create a rotary knob control or use iOS’s gesture recognizer API.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.