MPNowPlayingInfoCenter Live icon

2019-09-16 15:08发布

I am making a radio app and noticed in the iHeartRadio app, along with the Apple Music app (Beats 1) there seems to be a Live icon for live media. I wanted to implement this into my app but have no idea on how to do it. I am using Swift 3 and MPNowPlayingInfoCenter. Any answers would help. (Icon is in the photos below called iHeart Radio LIVE icon.) Thanks!

iHeart Radio LIVE Icon.

iHeart Radio LIVE Icon 2.

1条回答
我只想做你的唯一
2楼-- · 2019-09-16 16:00

Swift 3... the properties are in MPNowPlayingInfoCenter.h

MPNowPlayingInfoCenter.default().nowPlayingInfo = [MPNowPlayingInfoPropertyIsLiveStream: true]

查看更多
登录 后发表回答