[英]iPhone - voice recording in background
I'm using AVAudioRecorder and able to record voice of the user. 我正在使用AVAudioRecorder并能够录制用户的声音。 But how can I countinue recording the voice when the app goes to background also? 但是,当应用程序进入后台时,如何计算录制语音?
老实说,允许,你应该在应用程序的Info.plist
文件中将关键UIBackgroundModes
的值设置为audio
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.