gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 01:55:21 27 4
gpt4 key购买 nike

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

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com