I create a game. and now I need to check itunes is playing or not. I will mute game background music when itunes is playing in background
In cocos2d, itunes will fade out when SimpleAudioEngine play. And If turn on itunes backgroud, cocos2d's game will fade out bgm.
So need some code to check system status.