从App Store提交中排除特定的iPhone类型 [英] Excluding specific iPhone types from App Store submission

查看:88
本文介绍了从App Store提交中排除特定的iPhone类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个SpriteKit游戏,该游戏需要播放大屏幕区域,所以我决定不编写iPhone SE的代码,但是现在我不确定是否可以将它提交给所有设备的App Store(除了SE.请让我知道是否可行,以及如何实现(例如,在iTunes Connect上的什么位置).

I created a SpriteKit game that needs large screen area to be played so I decided not to write the code for the iPhone SE, but now I'm not sure if I can submit it to the App Store for all devices except the SE. Please let me know whether it's possible, and if so how to do it (i.e. where on iTunes Connect would you do it).

我抬头很多,但找不到任何可以帮助的东西. 我也找不到API中的任何内容.

I looked up a lot but I couldn't find anything that could help. I also couldn't find anything in the API.

推荐答案

不幸的是,Apple对此没有任何支持.但是,您可以执行以下操作:检测用户的设备是否为iPhone SE,如果是,则显示全屏警报,提示此设备不支持应用程序",并阻止UI(除非需要,否则不建议这样做).

Unfortunately, there is no support from Apple for this kind of thing. But you can do something like detecting whether the user's device is an iPhone SE and if so show a full screen alert saying "App is not supported for this device" and block the UI (which is not recommended unless it's required).

只是一个想法: 如果您很幸运地找到一种可以区分iPhone SE的设备功能,则可以在info.plist的 UIDeviceRequiredCapabilities 键中将其设置为值.

Just a thought: If you are lucky to find out one device capability which distinguish iPhone SE, you can set that to value in UIDeviceRequiredCapabilities key in info.plist.

示例:向Info.plist的UIRequiredDeviceCapabilities中添加一项要求为"bluetooth-le"的项目时,应将您的应用限制为iPhone 4S/5和iPad 3、4和mini.您还可以提出相机闪光灯"要求,以将应用程序限制为仅在iPhone上使用.

Example: Adding an item to UIRequiredDeviceCapabilities in your Info.plist with the requirement of "bluetooth-le" should limit your app to iPhone 4S/5 and iPad 3, 4 and mini. You could also throw in a "camera-flash" requirement to limit the app to iPhones only, should you need that.

更多信息: 查看全文

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