iOS 上的自定义手势。 iPad
我希望为我的 iPad 应用程序创建自己的手势。我知道这是可以做到的,但不知道从哪里开始。我读到有一些示例代码可以存储您的自定义手势,以便您可以重复使用它们。我认为它是 ajson,
我希望将数字绘制为自定义手势,但是任何可以让我知道从哪里开始的示例代码/教程我都会非常满意!
先谢谢了。
I am looking to create my own gestures for my iPad app. I know this can be done but don't know where to start. I read that there is some sample code that can store your custom gestures so you can re use them. Think it was as ajson
I'm looking to draw numbers as custom gestures but any sample code/tutorial where I can get an idea where to start I would be very great full!
Thanks ahead.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最好的起点是 iOS 事件处理指南 手势识别器。那里有很多关于不同类型的手势识别器的信息。这应该为您提供有关如何创建最适合您的场景的识别器的足够信息。
The best place to start would be the Event Handling Guide for iOS section on Gesture Recognizers. There's a lot of information there on the different types of gesture recognizers. This should give you enough information on how to create the recognizer(s) that best fits your scenario.