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

前端 未结 9 1340
死守一世寂寞
死守一世寂寞 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:38

    I think there is an entry in the info.plist file for each of the devices that says which main window to load. Maybe a quick and dirty solution would be to set both MainWindow-iPhone and MainWindow-iPad to the same -iPhone- main window.

提交回复
热议问题