Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fishkorp

macrumors 68030
Original poster
Apr 10, 2006
2,536
650
Ellicott City, MD
I've been trying for 2 days now and I'm probably missing something simple, but I can't get my app to keep playing music when the screen is locked (like AOL Radio, Pandora, etc). I tried various things in the Delegate's applicationWillResignActive and I tried using a sharedInstance of my music player, but nothing seems to work. Is there some bit of magic somewhere to get audio to continue with a locked screen?
 

fishkorp

macrumors 68030
Original poster
Apr 10, 2006
2,536
650
Ellicott City, MD
AudioToolbox, I'm streaming audio from a web location. As soon as the screen is locked it stops playing, but if I click the home button it will start playing again until the screen blacks out. So it keeps queuing the audio I think, but it's not audible. I'm not sure if I should look in my audio stuff or if I need to do something to preserve network status on lock maybe?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.