我正在尝试制作适用于iPad和iPhone的应用。我确保我的项目部署针对的是通用设备系列。 我遇到的问题是我的代码没有在iPad上显示我的mainViewcontroller类。在任何iPhone上运行时,相同的代码工作正常。
mainViewcontroller如下所示:
This is main Subview which should be subview of image 2
this one is the main topview -> stays for 5 different sub controller.
这就是我在故事板上的预览部分中看到的内容: iphone8 is showing the viewController but nothing is shown on the iPad pro 9.7"
如果有人能帮我解决问题,请告诉我。 我可能不得不制作一个只专注于iPad的新项目。