Audio is no longer working on iPad3 [closed]

2019-08-30 03:07发布

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条回答
唯我独甜
2楼-- · 2019-08-30 03:50

Also give this code for your audioPlayer

[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];

Hope it will solve your issue.

查看更多
登录 后发表回答