后台播放音频设置

AVAudioSession *session = [AVAudioSession sharedInstance];
    [session setActive:YES error:nil];
    [session setCategory:AVAudioSessionCategoryPlayback error:nil];
posted @ 2015-05-22 20:03  望月Jarvis  阅读(254)  评论(0编辑  收藏  举报