I currently use AVAudioPlayer to play music while in the foreground, but when I press the home button my application goes to the background and the music stops. I set the category for my AVAudioSession to AVAudioSessionCategoryPlayback and set active to YES. Additionally, I added the audio
key to UIBackgroundModes in my Info.plist.
Is there anything else I need to do to enable background music playback?