简体   繁体   中英

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 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!

不要忘记考虑将陀螺仪添加到下一个iPad的可能性,因此请不要绝对依赖“ UIRequiredDeviceCapabilities”的“ gyroscope”值,否则您可能会感到困惑。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM