如何将iOS项目限制为仅限iPhone 4 [英] How can I restrict my iOS Project to iPhone 4 Only

查看:116
本文介绍了如何将iOS项目限制为仅限iPhone 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iOS项目中使用条形码扫描程序库,目前只支持iPhone 4设备。是否可以限制应用程序提交以便只有iPhone 4用户可以加载它,这是否是App Store拒绝的原因?

I'm using a barcode scanner library within my iOS project that currently only supports iPhone 4 devices. Is it possible to restrict the application submission so that only iPhone 4 users can load it, is this a cause for rejection from the App Store?

推荐答案

您可以尝试以下内容:

<key>UIRequiredDeviceCapabilities</key>
<array>
    <string>gyroscope</string>
</array>

这将仅限于具有陀螺仪的iPhone,即iPhone4及更高版本。

This will restrict it to only iPhones that have the gyroscope, which is iPhone4 and beyond.

不确定这是最佳方式,但它应该有效。

Not sure this is the best way, but it should work.

希望这会有所帮助!

这篇关于如何将iOS项目限制为仅限iPhone 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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