I'm not quite sure that this is used with Cocos2d, but I would like to know how I can let the user play their music from their playlists or if my application can accidentally select a song from my playlist.
Is it possible?
thank
You can check if other music is playing using the Singleton CDAudioManager. Use the function isOtherAudioPlaying. http://www.cocos2d-iphone.org/api-ref/0.99.5/interface_c_d_audio_manager.html#ab664b34e99f6f3e2158f2df910cf3a95
isOtherAudioPlaying