PDA

View Full Version : Need help with api




lynkynpark86
Jul 22, 2010, 08:58 PM
For experimental purposes, I want to make a music app with one song that plays in the background. I already know how to do the music part, but not the background part. According to apple, "You can add (background audio) with just a few lines of code". If anyone knows where I can find out how to do this, it would be helpful. Thanks!



fishkorp
Jul 22, 2010, 10:01 PM
For experimental purposes, I want to make a music app with one song that plays in the background. I already know how to do the music part, but not the background part. According to apple, "You can add (background audio) with just a few lines of code". If anyone knows where I can find out how to do this, it would be helpful. Thanks!

All you do is set the background mode to 'audio' in the Info.plist to play background audio. That's it. No special coding required.