UIEvent和UIEventTypeMotion仅拦截摇动手势吗?

时间:2011-12-29 20:41:55

标签: ios motion-detection uievent

阅读Apple documentation我发现UIEventTypeMotion仅用于拦截Shake。这听起来很奇怪...... UIEventTypeMotion上唯一的子类型是UIEventTypeMotionShake。 我无法理解如何以其他方式使用函数- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event ..

1 个答案:

答案 0 :(得分:1)

是的,此刻它认出的唯一动作手势正在颤抖。从它的外观来看,苹果未来可能会增加更多,但我们必须等待和观察:)