Hi guys,
Im using AVPlayer for the audio in my app. I have it playing audio, setting
up its audio session correctly (I think, the play icon appears in the status
bar when I play audio tracks within my app, and my app icon appears beside
the player transport controls in the multitasking dock). Howe
Ok, I feel a little stupid. It turns out my key UIApplicationModes had a
space in front of it. Doh!
Well, to anyone having similar problems, ensure your info.plist looks like
this
UIBackgroundModes
audio
and setup your playback code like this:
AVAudioSession audio