Have audio continue to play in the background when the user goes back to home screen?

Is this possible? I’m prototyping an audio app and need it to continue playing audio when you leave the app. Sort of like how Spotify does it.

So it sounds like I need to set background mode audio in the info.plist and use the correct Audio Session Category. Apparently Unity uses Ambient, but I’m having trouble finding how to use a different one. Any ideas??

http://developer.apple.com/library/ios/#documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategories/AudioSessionCategories.html