[英]iOS simulator (iPhone6) viewControllers does not match storyBoard controllers
in another project of mine, which I started working on a few months ago, if I take some storyboard viewController and add it some pink view for instance, the pink view will appear exactly as in the storyboard when running in iOS simulator iPhone 6. while in a new project I'm working on, the view in iOS simulator (iPhone 6) is in size of the storyboard view (which is iPhone 5). 在我几个月前开始工作的另一个项目中,如果我使用一些情节提要viewController并将其添加为粉红色视图,例如,在iOS模拟器iPhone 6中运行时,该粉红色视图将与情节提要完全一样。在我正在处理的新项目中,iOS模拟器(iPhone 6)中的视图与情节提要视图(即iPhone 5)的大小相同。
btw, in my previous project i didn't use size Classes, and didn't have any constrains anywhere. 顺便说一句,在我以前的项目中,我没有使用size类,并且在任何地方都没有任何约束。 I'd like it to stay like this in my current project.
我希望在当前项目中保持这种状态。 how can it be done ?
如何做呢 ? thanks in advance!
提前致谢!
For the size issue as shown above, Check for the launch nib file. 对于上面显示的大小问题,请检查启动nib文件。 for the Project.
该项目。 use the launch file size to the maximum device size as for now 5.5'.
使用启动文件大小达到当前5.5'的最大设备大小。
This could happen coz of any of 2 as below: 可能发生以下2项中的任何一项,因为:
May be this could solve your issue. 也许这可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.