Excludes iPhone 3GS and older iPhones and iPods from Universal App

I want to achieve the same as the guy in this question , but using a universal app. That is, including all iPad versions and all iPhones and iPods that have a retina display.

I think the keys I need to add to my info.plist file under UIRequiredDeviceCapabilities are as follows:

  • ARMv7
  • front-camera ~ iphone
  • front-camera ~ rate

I'm not sure if the ~ iphone and ~ ipod suffixes are enough for the system to know that I want to turn on the iPad 1 (which does not have a front camera)

Can anyone confirm that this is the correct way to do this?

The guys at Apple Support Portal only pointed me to docs and guides, but I didn't find a real example of what I want to do.

+3


source to share


2 answers


You cannot use "suffix". These keys allow you to list the hardware capabilities that your application needs. So ... let them say: microphone - your application's microphone is "needed"! You can't say "I need a microphone ... if I have an iPad" ...



+1


source


I'm sure this will work - especially if there is a clue for front-facing-camera~ipad

.



0


source







All Articles