How to change iPhone/iPad app to iPhone only?

后端 未结 6 743
北恋
北恋 2021-02-05 05:38

I\'ve been a bit stupid and built my app as being targeted for both iPhone and iPad, whereas it should really just be for the iPhone.

How do I change the settings so tha

相关标签:
6条回答
  • 2021-02-05 06:09

    U can do this by going through the following steps.

    1. Select Edit Project settings from Projects .
    2. Go to build settings.
    3. Select Targeted Device Family and Choose iPhone.

    That should do it.

    Have fun.

    0 讨论(0)
  • 2021-02-05 06:12

    For Xcode 4.2:

    1. Select the project navigator (little folder icon in the top left), then select your project (the top most item)
    2. Move across to the next column, select the appropriate target
    3. Move across to the next column, select the summary tab
    4. Select iphone from the devices dropdown.
    0 讨论(0)
  • 2021-02-05 06:13

    You have to change the Targeted device family. Select the project, then info-->Deployment--->Targeted device family to iPhone only and you have to do the same thing in targets. After that your app will be only for iPhone.

    Good Luck!

    0 讨论(0)
  • 2021-02-05 06:17

    In XCode 9.4.1

    1. Project Navigator -> Select Project
    2. General -> Deployment Info
    3. Devices -> iPhone
    0 讨论(0)
  • 2021-02-05 06:19
    1. Project -> Edit Project Settings -> Build -> Targeted Device Family = iPhone

    2. Open "[project]-Info.plist" and change "Main nib file base name (iPad)" in "MainWindow_iPhone"

    I hope this helps :-)

    0 讨论(0)
  • 2021-02-05 06:23

    For Xcode 5.1.1:

    Select your project and then go to:

    General->Deployment Info -> Devices

    and then select just iPhone

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