我不希望我的 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?
问题描述
我不希望我的 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.
这篇关于我不希望我的 iOS 应用程序在 3.5 英寸屏幕的 iPhone 上运行,是否可以将我的应用程序限制为只能使用 4 英寸显示器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!