MPMusicPlayerController
[AVAudioSession sharedInstance].category = AVAudioSessionCategoryAmbient
if ([[MPMusicPlayerController iPodMusicPlayer] playbackState] == MPMusicPlaybackStatePlaying)
判断ipod是不是在放歌
[AVAudioSession sharedInstance].category = AVAudioSessionCategoryAmbient
if ([[MPMusicPlayerController iPodMusicPlayer] playbackState] == MPMusicPlaybackStatePlaying)
判断ipod是不是在放歌
暂无评论。
评论功能维护中,当前仅展示历史评论。