URGENT Please Help. Can I continue playing my sounds when iphone locks?

Hello,

I am so close to finishing my first app (sigh), but I’m stuck on one thing :

My app essentially play a variety of sounds, but I need them to continue playing after the phone locks.

Is there any way I can either :

a. get the sound to continue playing (first preference) or
b. stop the phone from locking when the user is in the app (not ideal)

To add to this it would be great if I could set the phone to Airplane Mode whilst the app is running (as an option)

Thanks so much.

Christine

[import]uid: 133106 topic_id: 26615 reply_id: 326615[/import]

You can, here is an example build.settings file

[code]

settings =
{
orientation =
{
default =“portrait”,
supported =
{
“portrait”, “portraitUpsideDown”
},
},

iphone =
{
plist =
{
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png” ,
“Icon-72.png”
},
UIStatusBarHidden = true,
UIPrerenderedIcon=“YES”,
UIBackgroundModes =
{
“audio”,
},
UIApplicationExitsOnSuspend = false,
},
},

}
[/code] [import]uid: 84637 topic_id: 26615 reply_id: 107878[/import]

Thank you, thank you, thank you.

Could you please tell me where the documentation is for UIApplicationExitsOnSuspend so I can see what else I can use?

I would also like to put the app in airplane mode if possible

Thanks again.

Christine [import]uid: 133106 topic_id: 26615 reply_id: 108037[/import]

Here you go: http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html [import]uid: 84637 topic_id: 26615 reply_id: 108059[/import]