如何在Xcode中将兼容设备设置为仅与ARKit兼容设备? [英] How do I set compatible devices to only ARKit compatible devices in Xcode?

查看:102
本文介绍了如何在Xcode中将兼容设备设置为仅与ARKit兼容设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何确保我在iOS AppStore上的应用仅显示与启用ARKit的设备的兼容性?

How can I make sure my app on iOS AppStore only show compatibility for ARKit enabled devices only?

推荐答案

在必需的设备功能下,您的info.plist文件的密钥为arkit.

The key is arkit for your info.plist file under Required device capabilities.

有关plist键的Apple文档(UIRequiredDeviceCapabilities).

Apple documentation on plist keys (UIRequiredDeviceCapabilities).

:arkit

说明:如果您的应用需要对ARKit的支持,请包含此密钥 在该设备(即具有A9或更高版本处理器的iOS设备)上.

Description: Include this key if your app requires support for ARKit on the device (that is, an iOS device with an A9 or later processor).

最低版本:iOS 11.0

Minimum version: iOS 11.0

对现有应用程序的一个重要警告是,Apple不允许您在应用程序发布后限制其设备.

One important caveat for existing apps is that Apple does not allow you to restrict devices for an app once it has been released.

重要提示:提交设备时,必须对所有设备要求进行更改 您的二进制文件的更新.只允许您扩展设备 要求.将更新提交到您的二进制文件以限制您的 不允许使用设备要求.你无法限制 设备要求,因为此操作将使拥有以下条件的客户 以前通过运行新更新下载了您的应用.

Important: All device requirement changes must be made when you submit an update to your binary. You are permitted only to expand your device requirements. Submitting an update to your binary to restrict your device requirements is not permitted. You are unable to restrict device requirements because this action will keep customers who have previously downloaded your app from running new updates.

如果要将AR功能添加到现有应用程序中,则可以使用 < ARKit 的c2> 属性,以确定是否应公开此功能.

If you are adding AR functionality to an existing application, you can use the isSupported property of ARKit to determine if you should expose this functionality.

这篇关于如何在Xcode中将兼容设备设置为仅与ARKit兼容设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆