问题描述
我使用 AVAudioRecorder
进行录制,它在iOS 4设备上运行良好,但昨天我们发现录制在iOS5上被破坏了。使用iPhone 5模拟器我收到以下错误:
I use AVAudioRecorder
to record, it worked fine on iOS 4 devices, but yesterday we found out recording is broken on iOS5. Using the iPhone 5 simulator I got following error:
你知道这个吗?错误来自以及如何解决这个问题?
Do you know where this error came from and how to fix this?
推荐答案
这个错误只是来自系统框架的控制台噪音,你应该忽略它,它不会影响你。如果您的应用程序崩溃或无法记录真正的原因是在其他地方。
This error is just console noise from a System framework, you should ignore it, it doesn't affect you. If your app is crashing or failing to record the real reason is elsewhere.
AVAudioRecorder在iOS 5上工作正常,即使它在正常操作期间抛出(并捕获)异常会使调试更加困难。
AVAudioRecorder works just fine on iOS 5, even if it does throw (and catch) Exceptions during normal operations which make debugging harder.
这篇关于AVAudioRecorder抛出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!