iOS8 AVAudioSession setActive error

后端 未结 5 1108
独厮守ぢ
独厮守ぢ 2020-12-28 12:00

I\'m testing my app in XCode 6 and find an issue with AVAudioSession in iOS8.

When I call

[[AVAudioSession sharedInstance] setActive:NO error

5条回答
  •  甜味超标
    2020-12-28 13:02

    Be warned. If you are playing a movie (even with no sound and the audio track removed) then it will still create an I/O thread which will always cause the above error to be thrown.

提交回复
热议问题