问题描述
我一直在使用,甚至当你从X code取出iPad的兼容性是,不同的应用发现(见下图)
I have noticed using different applications that, even when you remove the iPad compatibility from xcode (see picture below)
应用程序仍然会显示在iTunes的应用程序页面与iPad兼容的(见下图):
the app will still show that is compatible with iPad in the iTunes app page (see picture below):
所以,我想知道,没怎么的WhatsApp取出iPad的兼容性从它的应用程序? (见下图):
Therefore, I am wondering, how did Whatsapp removed the iPad compatibility from it's app? (see image below):
感谢您
推荐答案
由于WhatsApp的不无电话的工作(应用程序需要的电话号码),他们确实使用了电话
作为 UIRequiredDeviceCapabilities
在他们的信息-plist中值。这限制了应用被指定为电话设备。目前只覆盖iPhone手机,所以应用程序将无法在iPad和iPod的工作。
Because WhatsApp does not work without telephony (the app requires the phone number) they did use telephony
as UIRequiredDeviceCapabilities
value in their info-plist. This limits the app to devices that are designated as telephones. Which currently covers only iPhones, so the app won't work on iPads and iPods.
通常你不能做到这一点,苹果不允许任意设定 UIRequiredDeviceCapabilities
。如果您的应用程序确实需要的电话支持,你当然可以使用钥匙。
Generally you can't do that, Apple does not allow to arbitrary set UIRequiredDeviceCapabilities
. If your app really requires telephony support you can of course use the key.
这篇关于WhatsApp的应用程序是如何删除应用程序的iPad的兼容性如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!