当我试图播放一个声音文件时,我得到了这样的信息警告: 997:设置声音失败,错误= -50。声音播放了,但我听不懂信息。这是iOS 9和Xcode7的新特性,有什么建议吗?谢谢。
发布于 2015-09-27 02:22:40
它的发生是因为你有这样一行:
AudioServicesPlayAlertSound(SystemSoundID(kSystemSoundID_Vibrate))您需要禁用它。
祝好运!
https://stackoverflow.com/questions/32683205
复制相似问题