How to show the play icon in the statusbar of my iPhone / iPad
I made an app which allows a开发者_如何转开发n audio file (http://site/file.mp3) to be played in the background.
This all works great. I only want an play icon to be visible like this statusbar See the 'play' icon in the top right.I've googled my brains out and can't seem to find anything that explains how to achieve this.
Anyone?
You might need this in your plist:
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
Other than that - it might be a part of linking your app to the iPod controls; which is answered here: iPhone ios4 - Replacing iPod dock icon whilst playing background audio stream
精彩评论