How to change iPhone/iPad app to iPhone only?

后端 未结 6 802
北恋
北恋 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: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 :-)

提交回复
热议问题