gpt4 book ai didi

ios - 关于 UIRequiredDeviceCapabilities?

转载 作者:行者123 更新时间:2023-11-28 20:20:24 41 4
gpt4 key购买 nike

如果应用程序在 info.plist 文件的 UIRequiredDeviceCapabilities 数组中添加两项,一项是 armv7(默认),另一项是 bluetooth-le。那说明应用程序只能在具有 BLE4.0 的设备上使用?其他没有BLE4.0的设备是否可以从应用商店下载或运行此应用?

最佳答案

没错。只有具有这些功能的设备才能安装您的应用程序。这在 UIRequiredDeviceCapabilities 中有解释。文档。引用:

UIRequiredDeviceCapabilities (Array or Dictionary - iOS) lets iTunes and the App Store know which device-related features an app requires in order to run. iTunes and the mobile App Store use this list to prevent customers from installing apps on a device that does not support the listed capabilities.

If you use an array, the presence of a given key indicates the corresponding feature is required. If you use a dictionary, you must specify a Boolean value for each key. If the value of this key is true, the feature is required. If the value of the key is false, the feature must not be present on the device. In both cases, omitting a key indicates that the feature is not required but that the app is able to run if the feature is present.

关于ios - 关于 UIRequiredDeviceCapabilities?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16247637/

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