Avg. Rating 3.5
Tags:



Problem

On iOS, the sound stops when my app goes to the background. How can I enable my app to continue to play while in the background?

Solution

If you want to support background audio playback, you need to specify it the the iPhone section of application xml.

Detailed explanation

 <key>UIBackgroundModes</key> 

<array> 
             <string>audio</string> 
</array> 

+
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Report abuse

Related recipes