We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在心城的开发过程中,在处理音频部分时,有这么段代码
NSError* error; self.audioRecorder = [[AVAudioRecorder alloc] initWithURL:[self getTempAudioPath] settings:settingDic error:&error];; //... if ([self.audioRecorder prepareToRecord]) { [self.audioRecorder record]; }
在模拟器上崩溃,始终停在了prepareToRecord这一行,但真机测试没问题。怀疑是模拟器的bug。 Stackoverflow问题讨论
prepareToRecord
在测试音频录制功能时,先暂时禁用掉Xcode的全局断点功能。之后,恢复正常开启全局断点。(默认快捷键:Command+Y)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
在心城的开发过程中,在处理音频部分时,有这么段代码
在模拟器上崩溃,始终停在了
prepareToRecord
这一行,但真机测试没问题。怀疑是模拟器的bug。Stackoverflow问题讨论
解决办法(不是办法的办法)
在测试音频录制功能时,先暂时禁用掉Xcode的全局断点功能。之后,恢复正常开启全局断点。(默认快捷键:Command+Y)
The text was updated successfully, but these errors were encountered: