阅读Apple 文档后,我发现 UIEventTypeMotion 仅对拦截 Shake 有用。听起来很奇怪......但 a 上唯一的子类型UIEventTypeMotion
是UIEventTypeMotionShake
. 我无法理解如何以- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event
其他方式使用功能..
问问题
393 次
阅读Apple 文档后,我发现 UIEventTypeMotion 仅对拦截 Shake 有用。听起来很奇怪......但 a 上唯一的子类型UIEventTypeMotion
是UIEventTypeMotionShake
. 我无法理解如何以- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event
其他方式使用功能..