iOS Development: How can I prevent an iPad from running a universal app in iPad mode?

前端 未结 9 1321
死守一世寂寞
死守一世寂寞 2020-12-31 04:50

I\'m diving into iOS development and I created a universal app that turned into an iPhone-only app. When it runs on the iPad, it just loads a white screen since there\'s no

9条回答
  •  情话喂你
    2020-12-31 05:34

    I'm assuming what you actually want is to remove the "universal" capability, and just make it an iPhone app.

    In Xcode, go to Project => Edit Project Settings => Build.

    Search for universal, or 'Targeted Device Family'.

    Pick iPhone.

    Goodbye iPad.

提交回复
热议问题