设置下声音输出的扬声器就行了 代码如下

do {
            try AVAudioSession.sharedInstance().overrideOutputAudioPort(AVAudioSessionPortOverride.speaker)
} catch _ {

}

 备份:http://www.jianshu.com/p/f8c614b1b7cf 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-10-20
  • 2021-11-17
  • 2022-01-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-17
  • 2021-07-31
  • 2021-07-11
  • 2022-12-23
  • 2021-11-11
  • 2021-12-10
相关资源
相似解决方案