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.
我目前在锁定屏幕上更改曲目信息时遇到问题。我已经设法从锁定屏幕开始播放/暂停,一切正常,花花公子,但我完全不知道如何将“当前播放”信息发送给它。
我正在使用AVPlayer播放来自互联网的流式音频。有谁知道如何在锁定屏幕上设置艺术家/曲目名称?也许通过发送 AVPlayerItem?任何帮助是极大的赞赏!
谢谢!
iOS 5 中MPNowPlayingInfoCenter的新功能,.. 让您将信息发送到锁定屏幕,例如艺术家信息、歌曲信息等。
MPNowPlayingInfoCenter
这是关于它的文档