【发布时间】:2015-06-02 18:52:03
【问题描述】:
iOS 确实提供了用于其抖动运动检测的功能。
- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event ;
但我有自定义手势,例如 WAVE 等。我尝试使用 motionBegan,但结果看起来非常糟糕。 AKA,您需要先摇动手机才能触发此功能。我想知道,有没有更好的解决方案,
【问题讨论】:
标签: ios gesture-recognition motion