ios - 我在我的项目中使用 Camera API 和 QRCode API,我可以在我的项目中实现多任务处理(splitvIew)吗

标签 ios multitasking ios9

我在我的项目中使用相机 API 和 QRCode API,我可以在我的项目中实现多任务处理(splitvIew、SlideOver)吗? 我认为当我们使用相机API时,想要使用全屏。 我的项目还有一些其他功能。 只有使用Camera API时才可以使用全屏吗?

最佳答案

如果您的应用是以相机为中心的应用或与游戏相关的应用,那么 Apple 建议选择退出上述功能。

Apple 文档说

Consider opting out only if your app falls into one of these narrow categories:

Camera-centric apps, where using the entire screen for preview and capturing a moment quickly is your primary feature.

Full-device apps,such as games that use iPad sensors as part of their core gameplay Otherwise, Apple, and your customers, expect you to adopt Slide Over and Split View.

要选择不参与 Slide Over 和 Split View,请将 UIRequiresFullScreen 键添加到 Xcode 项目的 Info.plist 文件中,并应用 bool 值 YES .

如果您需要更多说明,请告诉我。

关于ios - 我在我的项目中使用 Camera API 和 QRCode API,我可以在我的项目中实现多任务处理(splitvIew)吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30929813/

相关文章:

ios - OpenPlug 如何在 Windows 上构建?

ios - 在后台获取定期位置更新

swift - editActionsForRowAtIndexPath 不在带有 Xcode 7 的 iOS 8 上执行

swift - Swift 2 的 Realm 唯一 ID

ios - 如何在 nginx 中设置前向保密,以便具有默认 ATS 设置的 iOS9 (Xcode7) 应用程序可以连接到我的服务器?

iphone - setContentOffset 失去精度?

ios - 同步线程中的同步问题

ios UI 对于我的 Storyboard来说不可扩展

multithreading - 以编程方式控制多任务

linux - 在进程上下文切换的情况下,新进程的虚拟地址空间 (VAS) 是否已加载到 CPU 上下文(CPU 的寄存器)中?