我想知道,有没有办法让应用程序在后台运行时访问 iDevice 的麦克风(设备可能会或可能不会被锁定)?
我需要听音频输入并进行一些声音识别。
来自墨西哥的欢呼
最佳答案
根据Apple's developer page ,您可以使用“音频”权限,该权限授予此访问权限:
The app plays audible content to the user or records audio while in the background. (This content includes streaming audio or video content using AirPlay.)
关于iOS:在后台应用程序中访问设备麦克风,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9372835/