是否可以将曲目标题添加到“正在播放控件"中?像音乐应用程序或iTunesune菜单一样? [英] Is it possible to add track title to "Now Playing Controls" menu as Music app or ITunesU do?

查看:90
本文介绍了是否可以将曲目标题添加到“正在播放控件"中?像音乐应用程序或iTunesune菜单一样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个播放器应用.我已经实现了'remoteControlReceivedWithEvent:'方法,并且可以通过此按钮更改播放状态(

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?

谢谢.

推荐答案

是的,它是通过MPNowPlayingInfoCenter

这篇关于是否可以将曲目标题添加到“正在播放控件"中?像音乐应用程序或iTunesune菜单一样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆