我在我的项目中使用相机 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/