javascript - 是否有保持 iPhone 摄像头录音的命令?
<p>基本上,我有一个关于我的应用程序的想法,我希望 iPhone 相机即使在用户正在做其他事情(例如检查 twitter)时也能继续录制视频,例如 spy 凸轮。我有很多可用的编码解决方案<br><br>有没有办法用 HTML5、CSS、javascript 或 xcode 对此进行编码?</p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p>iOS 不允许您在后台持续运行相机。这是因为一旦每个应用程序进入后台状态,它只有很短的时间来结束它的进程并准备暂停(iOS 这样做是为了节省内存)。<br><br>来自 <a href="https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html#//apple_ref/doc/uid/TP40007072-CH4-SW1" rel="noreferrer noopener nofollow">apple developer docs</a><br><br> <blockquote>
<p>In iOS, only specific app types are allowed to run in the background:</p>
<ul>
<li>Apps that play audible content to the user while in the background, such as a music player app
<ul>
<li>Apps that record audio content while in the background</li>
<li>Apps that keep users informed of their location at all times, such as a navigation app</li>
<li>Apps that support Voice over Internet Protocol (VoIP)</li>
<li>Apps that need to download and process new content regularly</li>
<li>Apps that receive regular updates from external accessories</li>
</ul></li>
</ul>
</blockquote><br><br>实现您想要的唯一其他方法是越狱您的设备并在 Cydia(越狱的 App Store)上分发您的应用程序。越狱将使您的设备摆脱 IOS 的限制,但也会使您的手机更容易受到黑客攻击...</p>
<p style="font-size: 20px;">关于javascript - 是否有保持 iPhone 摄像头录音的命令?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/32036252/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/32036252/
</a>
</p>
页:
[1]