UIGestureRecognizer自定义手势 [英] UIGestureRecognizer custom gestures
本文介绍了UIGestureRecognizer自定义手势的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用UIGestureRecognizer为自定义手势创建检测器?
Is it possible to use UIGestureRecognizer to create detectors for custom gestures?
假设我想检测识别A,B,C等字母的手势
Suppose I want to detect gestures that identify letters like A, B, C, etc.
你们可以指出我的方法吗?
Can you guys point me broadly the way to do that?
谢谢。
推荐答案
看看这篇文章。它应该给你一个良好的开端。这是来自Erica Sadun的精湛书籍核心iOS 6开发者手册
Take a look at this article. It should give you a good head start. It's from Erica Sadun's superb book Core iOS 6 Developer's Cookbook
另外,你可以看到这个问题
这篇关于UIGestureRecognizer自定义手势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文