I want to play the music continuously in through my application whether the ipod /iphone locked the screen or screen is not locked.
Thanks
Hi,
Check out this book from Apress. Chapter six outlines the development of the pandora player and it specifically talks about the code needed to ensure the device does not go to sleep so music can keep playing as you have asked for. The source code is free from this link as well. Hope this helps!