如何在iPhone上进行捏合手势? [英] How to do pinch gestures on the iPhone?

查看:352
本文介绍了如何在iPhone上进行捏合手势?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在iPhone上实现捏合手势?我熟悉在iPhone上使用触摸事件,但我非常懒,不想重新发明像PINCH手势那样普遍的东西......源代码或其链接会有所帮助。

解决方案

非常确定此处提供的解决方案已经过时,支持在iOS 3.2及更高版本中使用新的UIPinchGestureRecognizer类。 / p>

How does one implement pinch gestures on the iPhone? I'm familiar with using touch events on the iPhone but I'm extremely lazy and don't want to re-invent the wheel for something as widespread as PINCH gestures...Source code or links thereto would be helpful.

解决方案

Pretty sure the solutions presented here have been obsoleted, in favor of using the new UIPinchGestureRecognizer class in iOS 3.2 and later.

这篇关于如何在iPhone上进行捏合手势?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆