[AVAudioSession sharedInstance].category = AVAudioSessionCategoryAmbient
if ([[MPMusicPlayerController iPodMusicPlayer] playbackState] == MPMusicPlaybackStatePlaying)
判断ipod是不是在放歌
if ([[MPMusicPlayerController iPodMusicPlayer] playbackState] == MPMusicPlaybackStatePlaying)
判断ipod是不是在放歌