除了iPod touch之外,我该如何限制仅限iPhone的应用程序? [英] How can I restrict my app for iPhone's only, excluding iPod touch?

查看:140
本文介绍了除了iPod touch之外,我该如何限制仅限iPhone的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何限制我的应用仅适用于iPhone,不包括iPod touch?

How can I restrict my app for iPhone's only, excluding iPod touch ?

我不希望我的应用在iPod Touch上可用,是否有属性info.plist我可以用来指定这个或者这是我在itunesconnect上设置时遇到的事情吗?

I don't want my app available on iPod Touch, is there a property in the info.plist I can use to specify this or is this something I will encounter during the setup on itunesconnect ?

推荐答案

你可以添加 gps 作为必需的设备功能,只是为了排除没有GPS硬件的设备,这会排除iPod触摸。

You could add gps as a required device capability simply to exclude devices without the GPS hardware, which would rule out iPod touches.

编辑:实际上,正确的方法是包含 UIRequiredDeviceCapabilities 条目(字典),电话键,其值为 YES ,意思是,只有支持电话的设备才能使用该应用程序。

Actually, the correct way to do this is to include for the UIRequiredDeviceCapabilities entry (a dictionary), the telephony key with a value of YES, meaning, only devices that support telephony can use the app.

另外,请查看 wh的完整参考资料钥匙可用于 UIRequiredDeviceCapabilities

Also, check out the complete reference of what keys are available for use with UIRequiredDeviceCapabilities.

这篇关于除了iPod touch之外,我该如何限制仅限iPhone的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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