Is it possible to add track title to “Now Playing Controls” menu as Music app or ITunesU do?

隐身守侯 提交于 2019-12-05 01:47:29

问题


I'm, creating a player app. I've implemented 'remoteControlReceivedWithEvent:' method and could change playing state by this buttons (apple guide). But when something playing from 'Music' or 'iTunes U' apps, than there are a song title appear under remote controls.

Is there any way to show there my own text from my player app?

Thanks in advance.


回答1:


Yes, it's done through the MPNowPlayingInfoCenter



来源:https://stackoverflow.com/questions/9384965/is-it-possible-to-add-track-title-to-now-playing-controls-menu-as-music-app-or

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!