Adding Device Capability Restrictions

An application’s Info.plist property list enables you to specify application requirements when you submit applications to the App Store. These restrictions enable you to tell iTunes and the mobile App Store what device features your application needs.

Each iOS unit provides a unique feature set. Some devices offer cameras and GPS capabilities. Others don’t. Some have onboard gyros, autofocus, and other powerful options. You specify what features are needed to run your application on a device.

When you include the UIRequiredDeviceCapabilities key in your Info.plist file, iTunes and the mobile App Store limit application installation to devices that offer the required capabilities. Provide this list as either ...

Get The Core iOS Developer’s Cookbook, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.