简体   繁体   English

如何在 ios 中制作自定义手势

[英]how to make custom gestures in ios

is it possible to make custom gestures in iOS such as a zigzag, or a other lines types?是否可以在 iOS 中制作自定义手势,例如锯齿形或其他线条类型? and can one link any action to a gesture.并且可以将任何动作链接到手势。 if you know an answer, or a link to an answer or exlanation, please share... thanks如果您知道答案或答案或解释的链接,请分享...谢谢

It is possible to create your own gesture recognizers.可以创建自己的手势识别器。 You can look at this section of the Event Handling Guide for iOS which gives information as to how you can build your own custom subclass.您可以查看iOS 的事件处理指南的this section ,其中提供了有关如何构建自己的自定义子类的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM