I am creating a Radio application , in that I want to keep my radio running even though the application goes to the background.
i.e. streaming must be continued , right now it gets stopped.
Please help me out from this situation
thanks
I am creating a Radio application , in that I want to keep my radio running even though the application goes to the background.
i.e. streaming must be continued , right now it gets stopped.
Please help me out from this situation
thanks
Add a "Required background modes" entry to your application .plist. This is an array, add an item of "App plays audio".
if you look at the plist source, it'll be:
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
This might be worth looking into:
iPhone ios4 - Replacing iPod dock icon whilst playing background audio stream