Kodeco Forums

UIGestureRecognizer Tutorial: Creating Custom Recognizers

Learn how to detect circles in this custom UIGestureRecognizer tutorial. You'll even learn how the math works!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/1724-uigesturerecognizer-tutorial-creating-custom-recognizers

Is it possible to detect some other shapes like rectangle, square, ellipse, etc,.

Of course, there are different approaches, depending on the shape. The main thing is to look at the points covered by the gesture recognizer and fitting it to a shape.

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]