Xcode : How To Set App To Be iPhone Only?

后端 未结 4 880
[愿得一人]
[愿得一人] 2020-12-10 15:54

We have set the following app settings to be iPhone only, but in the App Store the app is listed as iPhone/iPad compatible.

As you can see in the following image, th

相关标签:
4条回答
  • 2020-12-10 16:01

    All iphone games can run in iPad. Therefore iTunes is writing iPhone/iPad. For search a iPad only games, user will search in iPad tab in iTunes where no any iPhone games, therefore don't worry about this. Universal device and iPhone only settings for iTunes detecting a apps for sort. And on some case for developers.

    0 讨论(0)
  • 2020-12-10 16:12

    All iPhone applications can be run on the iPad as well, just not "fullscreen" (see image below). Applications can be designed for iPhone and iPad separately, or a universal app, which contains the resources for both iPhone and iPad (interfaces, device handling, etc.).

    enter image description here

    The user will notice a gray container around an application that is designed for iPhone. Universal apps will automatically choose the correct interface for the device.

    In the iTunes Store, applications with a blue plus symbol beside the price are Universal applications:

    enter image description here

    0 讨论(0)
  • 2020-12-10 16:16

    Setting the deployment Devices to "Iphone" wont restrict it to iphone only.

    The only way to do it is to add some Required Device capabilities which iPad doesn't have. e.g., If you add telephony or sms to the Required Device capabilities in Info.plist of the app, apple will automatically make the app available only for iPhone.

    For more device capabilities, refer to https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html

    I hope it helps.

    0 讨论(0)
  • 2020-12-10 16:24

    Keep UIDeviceFamily property to 1 (for iPhone) in app plist file and also change the Targeted Device Family in Build settings to 1 (for iPhone). Keep 2 in the both cases if you want to support iPad only. These are tested in XCode 8.

    0 讨论(0)
提交回复
热议问题