0

我正在用 Swift 编写 iOS 应用程序,我需要在用户上下跳跃时播放音乐(通过 coreMotion 检测到)。

播放音频很好,但我不知道如何使用 coreMotion 触发/停止音乐。

任何帮助将不胜感激!

4

0 回答 0