How to Restrict the iOS app only for iPhone excluding iPad?

后端 未结 6 626
我寻月下人不归
我寻月下人不归 2020-12-15 04:20

I want to restrict my app only for iPhone. I don\'t want my app is available for iPad.

6条回答
  •  半阙折子戏
    2020-12-15 04:56

    You cannot restrict permissions to install the application from the AppStore to iPhones only. If your application has already been added to the AppStore and had the ability to install on iPad, then you will not be able to set restrictions only for iPhones.

    Even if you set telephony yes in UIRequiredDeviceCapabilities. In this case, you will get an error loading build to the AppStore.

    Important: Because you can't add UIRequiredDeviceCapabilities restrictions after an app is in the store, be sure to plan ahead by choosing requirements you will be comfortable supporting indefinitely going forward.

    If set TARGETED_DEVICE_FAMILY iPhone, apps will run in emulated mode in iPad

    The only way is to add UIRequiredDeviceCapabilities, that allow installation on an iPhone/iPad, before to add app to the AppStore!

提交回复
热议问题