1

I have an app in the store that needs to play Music in background mode. Now with the iOS5.1 release, the music stops when the device is locked/moved to background. I looked at the release notes and didn't find anything related.... Any idea?

k20
  • 2,008
  • 1
  • 17
  • 23

1 Answers1

0

In your app.plist your need to specify that your app will be playing audio in the background. For key "Required background modes" add a value "App plays audio". Note that raw name for that key is UIBackgroundModes, and the value you need to insert in that array is "audio".

Aki
  • 3,709
  • 2
  • 29
  • 37