I am developing an ios application on iPad and I'm playing an audio on it but when I press the home button or the lock button the sound's stopped and when I go to app again it resume. What I want is to resume playing the audio even I press the Home button or the lock button. What should i do? Is there a way to do it.
Asked
Active
Viewed 402 times
0
-
1you can refer http://mobile.tutsplus.com/tutorials/iphone/ios-sdk_background-audio/ – Maulik Dec 11 '13 at 06:22
-
1http://stackoverflow.com/questions/10429204/how-to-handle-background-audio-playing-while-ios-device-is-locked-or-on-another – iOS Dec 11 '13 at 06:25
-
I guess you are new so first always try to use Google you'll get the answer and if not then ask here ! – Maulik Dec 11 '13 at 06:29
1 Answers
0
Set audio for UIBackgroundModes key in your app’s Info.plist file, you can get detail info about UIBackgroundModes from below link, UIBackgroundModes key in Info.plist

Vishwa Patel
- 484
- 2
- 10