Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 Swift 编写 iOS 应用程序,我需要在用户上下跳跃时播放音乐(通过 coreMotion 检测到)。
播放音频很好,但我不知道如何使用 coreMotion 触发/停止音乐。
任何帮助将不胜感激!