如何将应用程序图标放在播放器控制器 iOS 托盘附近?
我不确定双击主页按钮时屏幕的名称是 iOS 系统托盘。
我的广播应用程序支持后台播放。一切都好。
当双击主页按钮并向左滚动时,有播放器控件,并且我在播放器控件附近看不到我的应用程序图标。
我见过很多广播应用程序,它们的图标就在播放器控件的右侧。
我的屏幕显示旋转按钮、播放器按钮和 iPod 图标(或空)。
有什么帮助请...
im not sure the screen's name is iOS system tray when home button doble clicked.
my radio app supports background plays. everything is ok.
when double clickte home button, and scroll to left, there is player control, and i cant see my app icon just near the player control.
i have seen many radio apps, their icons are just right side of the player control.
my screen shows rotate button, player buttons and ipod icon(or empty).
any help please...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须设置音频会话,以便 iOS 知道您正在播放音频。此代码片段可以解决问题(不要忘记阅读文档!)
此外,不要忘记将音频设置为应用程序支持的后台模式。
You have to set the audio session, so that iOS knows that you are playing audio. This snippet will do the trick (don't forget to read the documentation!)
Also, don't forget to set
audio
as a background mode that your app supports.