ios - How do I specify that my app only supports iPhone 4 and iPhone 4s? -


i'm confused parameters need place in plist file. want support iphone 4 , iphone 4s. don't want support other iphone models, ipads or ipod touch.

what settings need?

you can add key- values in information plist available in iphone 4 or higher version -

like -

<key>uirequireddevicecapabilities</key>     <array>         <string>gyroscope</string>     </array> 

you can check information plist - http://developer.apple.com/library/ios/#documentation/general/reference/infoplistkeyreference/articles/iphoneoskeys.html


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -