如何讓app只能在iphone 4以上運行的方法


設定必要的相容性,一定要有陀螺儀,因這個只有iphone 4以上才有的晶片。
<key>UIRequiredDeviceCapabilities</key>
<array>
    <string>gyroscope</string>
</array>
以下是其他網友被退件後,apple回覆的方法 :
Yes, it's possible to make an App only for iPhone 4. However in this case you MUST make use of the UIRequiredDeviceCapabilities to limit the App to some iPhone4-only feature like camera-flash. (My iPhone4 App got rejected because I did not limit it to certain features. I just had added to the description: "Runs only on iPhone 4". The rejection letter told me that I must use the UIRequiredDeviceCapabilities if I want to limit the App to a certain hardware. Resubmitted the App with UIRequiredDeviceCapabilities set and the App got approved right away)

留言

這個網誌中的熱門文章

[心得] 圖解 微分、積分生活中的微積分-第一章

Objective-C的數學運算函式

c# 把List中重復的資料去掉