开发者

How do i submit a iPhone 4 only app to the App Store?

How do i submit a iPhone 4 only app to the App Store? As my app uses gyroscope functionality and Apple states that every app must run on开发者_如何学Go iPad.Is there a way around this?

Thanks, Lee


Apps don't have to run on the iPad, just as they don't have to run on all versions of the iPhone. Take a look at the UIRequiredDeviceCapabilities key of the info.plist.

You'll need to add a "gyroscrope" key, and set it to YES.


You'll need to add the following to your plist file:

<key>UIRequiredDeviceCapabilities</key>
<array>
    <string>gyroscope</string>
</array>

Having this key will disallow any device without a gyroscope from downloading it.

Hope this helps!


Don't forget to consider the possibility a gyroscope may be added to the next iPad, so don't absolutely rely on the "gyroscope" value for "UIRequiredDeviceCapabilities" otherwise you may come unstuck.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜