[英]audioPlayer error: The operation couldn’t be completed. (OSStatus error 2003334207.)
I'm trying to use AvAudioRecorder to record some sound, then use AvAudioPlayer to play it.我正在尝试使用 AvAudioRecorder 录制一些声音,然后使用 AvAudioPlayer 播放它。
This is the code guide I'm currently using.这是我目前使用的代码指南。 I implemented all the codes in the page correctly, when I click play it gives me
我正确地实现了页面中的所有代码,当我点击播放时,它给了我
audioPlayer error: The operation couldn't be completed.
音频播放器错误:操作无法完成。 (OSStatus error 2003334207.)
(OSStatus 错误 2003334207。)
Any idea how to fix this?知道如何解决这个问题吗? The ios I'm using is 9.1.
我使用的 ios 是 9.1。
See if this is your problem: OSStatus error 2003334207 while re-buiding the App from Xcode 6看看这是否是您的问题: OSStatus error 2003334207 while re-buiding the App from Xcode 6
Also make sure that you are using a fileURL and not a plain URL.还要确保您使用的是 fileURL 而不是普通 URL。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.