我已经启用并运行了我的 MPNowPlayingInfoCenter,但是还存在一个问题。无论我实际的播放状态如何,MPNowPlayingInfoCenter 总是处于“播放”状态,并显示“暂停”按钮。按下该按钮会触发暂停事件。
当我的播放器改变状态时(例如暂停),我通过 MPNowPlayingInfoPropertyPlaybackRate 键更新 MPNowPlayingInfoCenter。
是否有其他方法将 MPNowPlayingInfoCenter 的状态设置为暂停?
感谢任何提示!
当我的播放器改变状态时(例如暂停),我通过 MPNowPlayingInfoPropertyPlaybackRate 键更新 MPNowPlayingInfoCenter。
是否有其他方法将 MPNowPlayingInfoCenter 的状态设置为暂停?
感谢任何提示!
MPNowPlayingInfoPropertyPlaybackRate
是正确的方向,但要解决这个问题肯定还有更多工作要做。 - Warpling