IOS4 - Background audio with iPhone Simulator?

Voidness, It is working for me by implementing this code. This will not work in the simulator though for whatever reason. So if your code is the same or similar, have faith that it does work brilliantly on my iPod Touch with iOS4 installed.

App Delegate. M (either in init or applicationDidFinishLaunching) - (id) init { // allows you to play in the background when app is suspended in iOS4 AVAudioSession sharedInstance setDelegate: self; AVAudioSession sharedInstance setCategory: AVAudioSessionCategoryPlayback error:nil; } And of course be sure to set the UIBackgroundModes key to audio like was stated before. Best of luck, Rob.

I found out that it actually possible to play background audio in iphone simulator by following this step... Entering background on iOS4 to play audio.

Just found out that this only for finite operation. Not for long background task like playing a lot of music in the background. Sorry for an incorrect post.

– Khomsan Jan 14 at 8:07.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions