Reputation: 11074
This is an odd request, but I would like to be able to require devices to have a retina display in order to build an application. Is there a key and value I can add to my plist to add that build requirement?
Upvotes: 0
Views: 522
Reputation: 19869
You can check if there id a front camera, and set it in the info.plist UIRequiredDeviceCapabilities key.
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>front-facing-camera</string>
</array>
look here for more details: iPhoneOSKeys
BTW That will work for iPhone only.
Upvotes: 1