UIRequiredDeviceCapabilities

UIRequiredDeviceCapabilities

本文介绍了正确使用UIRequiredDeviceCapabilities来限制某些设备型号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有必要在info.plist中提及UIRequiredDeviceCapabilities

is it necesaary to mention UIRequiredDeviceCapabilities in info.plist

并说我的应用程序将在所有3g,3gs和4,ipad上运行,并且UIRequiredDeviceCapabilities中的信息应该是什么?

and lets say my app will run on all 3g,3gs and 4, ipad and what should be the info in my UIRequiredDeviceCapabilities??

现在我刚刚做到了

<key>UIRequiredDeviceCapabilities</key>
<array>
 <string>telephony</string>
 <string>gps</string>
  <string>location-services</string>
</array>

请帮助谢谢

推荐答案

iPad没有电话功能,因此可以忽略掉,iPod touch没有gps,因此可以避免掉……

iPad doesnt have telephony so leave that out, iPod touches dont have gps so leave that out…

最好的选择是删除所有这些功能并在软件中进行检查.

Your best bet is to remove all of these functions and do the checking in software.

这篇关于正确使用UIRequiredDeviceCapabilities来限制某些设备型号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-26 16:43