开发者

Correct usage of UIRequiredDeviceCapabilities to restrict to certain device models?

is it necesaary to mention UIRequiredDeviceCapabilities in info.plist

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

right now i just did this

<key>UIRequiredDeviceCapabilities</key>
<array>
 <string>telephony</string>
 <string>gps</string>
  <开发者_开发问答;string>location-services</string>
</array>

plz help thanks


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜