我不希望我的iOS应用程序在具有3.5屏幕的iPhone上运行,是否可以将我的应用仅限制为4英寸显示器?

我不希望我的iOS应用程序在具有3.5屏幕的iPhone上运行,是否可以将我的应用仅限制为4英寸显示器?

问题描述:

我不希望我的iOS应用程序在带有3.5个屏幕的iPhone上运行,是否可以将我的应用仅限制为4英寸或更大的显示器?

I don't want my iOS app to run on iPhone with 3.5 screens, is it possible to restrict my app only to 4 inch displays or larger?

,是否有可能不允许该应用在某个设备上运行?我不希望我的应用程序在iPhone 4和4S上运行。

Also, is it possible not allow the app to run on a certain device? I do not want my app to run on iPhone 4 and 4S.

您应该专注于所需的功能,而不是选择特定的设备。
例如,仅支持iPhone 4S +设备的蓝牙4.0低功耗通信。您可以将 bluetooth-le 键添加到 UIRequiredDeviceCapabilities ,以防止在除iPhone 4S +设备之外的所有设备上安装。

Rather than selecting for a specific device you should focus on what capabilities you need. For example Bluetooth 4.0 Low Energy communications supported only in iPhone 4S+ devices . You can add the bluetooth-le key to your UIRequiredDeviceCapabilities to prevent installation on every device but the iPhone 4S+ devices.