在我的应用程序中,播放是从控制中心控制的.当在AVPlayer中进行播放时(此时播放控件在控制中心正常工作),我正在加载带有其他流媒体URL的webview.
再次完成流式传输后,我将从AVPlayer开始播放.在此之后,播放控件在控制中心显示为灰色.
我[MPNowPlayingInfoCenter defaultCenter].nowPlayingInfo用来在控制中心启用播放控制.
[MPNowPlayingInfoCenter defaultCenter].nowPlayingInfo
会出现什么问题?
ios avplayer mpnowplayinginfocenter
avplayer ×1
ios ×1
mpnowplayinginfocenter ×1