How did Whatsapp app removed app's compatibility for iPad?

两盒软妹~` 提交于 2019-11-27 15:09:12

问题


I have noticed using different applications that, even when you remove the iPad compatibility from xcode (see picture below)

the app will still show that is compatible with iPad in the iTunes app page (see picture below):

Therefore, I am wondering, how did Whatsapp removed the iPad compatibility from it's app? (see image below):

Thank you


回答1:


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.

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.



来源:https://stackoverflow.com/questions/29209796/how-did-whatsapp-app-removed-apps-compatibility-for-ipad

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!