Can I require an iPhone 5S for my app?

前端 未结 3 1933
后悔当初
后悔当初 2021-01-04 04:59

I\'m writing an app which requires the M7 Motion co-processor chip in the iPhone 5S. Since this chip isn\'t in any other iPhone, the app will only function properly on an iP

3条回答
  •  星月不相逢
    2021-01-04 05:30

    You should add the key "Required device capabilities" - UIRequiredDeviceCapabilities to your app's main plist. By adding this key, you can define what are the app requirements.

    Here you find the values available for this key: https://developer.apple.com/library/ios/documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3

提交回复
热议问题