You can do it, but it is not an easy task. The iPhone SDK provides the UIGestureRecognizer class, you can subclass the UIGestureRecognizer that recognizes a distinctive gesture or character (in your case).
But there are other approaches. One of them is described by Brit Gardner on his blog . This approach is based on JavaScript-based N-Dollar recognizer. This guy did a good job, and now you can use the MultistrokeGestureRecognizer-iOS library to detect characters and shapes. Of course, this library is not ideal, and it uses a certain method (for example, JSON) to recognize strokes, but it is better than nothing.
Thanks, hope this helps someone.
beryllium
source share