问题
I've got two reports from users of my app, running iOS 5.1.1 on iPad 3 (iPad 1 & 2 are working fine), that the audio is no longer working.
I'm using the AVAudioPlayer from the AVFoundation library.
Is anybody else experiencing any similar problems.
What to do now?
回答1:
Also give this code for your audioPlayer
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
Hope it will solve your issue.
来源:https://stackoverflow.com/questions/12423211/audio-is-no-longer-working-on-ipad3