简体   繁体   English

XCode 8:无法设置大小

[英]XCode 8: Unable to set Size

Since the update to Xcode 8 I'm unable to set the size of the initial ViewController (which is then inherited to all other Views).由于更新到 Xcode 8,我无法设置初始 ViewController 的大小(然后继承到所有其他视图)。 In the past I could set something like iPhone 5, etc. Now I can only set Inferred, etc...过去我可以设置像 iPhone 5 之类的东西。现在我只能设置 Inferred 等等......

Where can I set the size?我在哪里可以设置尺寸?

在此处输入图片说明

Xcode 8. In the bottom left you can see Xcode 8. 在左下角你可以看到

在此处输入图片说明

Check below screen shot检查下面的屏幕截图

1 .Set your viewcontroller's size to freedom 1 .将您的视图控制器的大小设置为自由

在此处输入图片说明

2 .Then set size as per your need. 2 .然后根据您的需要设置尺寸。

在此处输入图片说明

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

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