4

I've noticed that in Xcode 4.5 and iOS6 'required background modes' - 'app plays audio' doesn't work!

Has anybody else noticed this if so have you found a fix?

Thanks.

Nathan Cleary
  • 653
  • 8
  • 20
  • 2
    If your problem is with audio in UIWebView, then the answer is at (http://stackoverflow.com/questions/11616001/uiwebview-html5-audio-pauses-in-ios-6-when-app-enters-background/12414719). Otherwise, I have no problem with background audio in iOS 6. – Chris Lundie Sep 26 '12 at 16:02
  • Thanks Chris, yes the audio is in a UIWebView, a great help. – Nathan Cleary Sep 26 '12 at 17:07
  • This answered my question... http://stackoverflow.com/questions/11616001/uiwebview-html5-audio-pauses-in-ios-6-when-app-enters-background/12414719 Thanks again Chris. – Nathan Cleary Sep 27 '12 at 09:46

1 Answers1

1

I believe it can be dependent upon the type of category you specify for the AVAudioSession... Ensure it is set to AVAudioSessionCategoryPlayback when initializing your session.

Tommy Devoy
  • 13,441
  • 3
  • 48
  • 75
  • It's coming through a UIWebView, worked fine in 5.1 then in 6 stopped working!... Anyway, works fine now thanks to Chris's help. – Nathan Cleary Sep 26 '12 at 17:08