简体   繁体   English

Xcode 8 beta - 如何更改storyboard中所有viewcontrollers的大小?

[英]Xcode 8 beta - How do you change the size of all the viewcontrollers in storyboard?

I was previously using xcode 7.3 and just upgraded to xcode 8 beta but in the process the sizes of all my viewcontrollers on storyboard went from a wider (iphone 6 plus type of size) to a narrower (iphone 6 type of size). 我之前使用的是xcode 7.3,刚刚升级到xcode 8 beta,但在这个过程中,故事板上我所有的viewcontrollers的大小从更宽的(iphone 6 plus类型的大小)变为更窄(iphone 6类型的大小)。 This has really messed with my constraints and I was wondering how do I change the size back? 这真的搞砸了我的约束,我想知道如何改变尺寸? Any help would be greatly appreciated. 任何帮助将不胜感激。

Below is the picture of the current view controller size in Xcode 8 beta 下面是Xcode 8 beta中当前视图控制器大小的图片 在此输入图像描述

在此输入图像描述

As of XCode 8, at the bottom right, select View As: (and then the device you want) 从XCode 8开始,在右下角,选择View As :(然后选择你想要的设备)

查看为

From here you can set/select all the screen sizes available 从这里您可以设置/选择所有可用的屏幕尺寸 所有屏幕尺寸

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM