简体   繁体   English

无法在xcode 8.3.2中更改xib文件方向

[英]Unable to change xib file orientation in xcode 8.3.2

I have a certain xib file which i would like to set constraints to. 我有一个特定的xib文件,我想设置约束。 Adding portrait constraints are no problem, But when i try to rotate the xib file, reorder the view and set new landscape constraints, Xcode won't rotate the xib, and it's impossible to create landscape constraints in portrait mode. 添加肖像约束是没有问题的,但是当我尝试旋转xib文件,重新排序视图并设置新的景观约束时,Xcode将不会旋转xib,并且无法在纵向模式下创建景观约束。

Any help? 有帮助吗?

Adding some screen shots: 添加一些屏幕截图:

1) Orientation set to landscape 1)方向设置为横向 在此输入图像描述

2) What i want to get (roughly): 2)我想得到的(大致):

在此输入图像描述

Your issue is that you are using Size in FreeForm so you need to change that to inferred then the controls to change to landscape works, i will post some images 你的问题是你在FreeForm中使用Size ,所以你需要改变它以推断然后控制更改为横向工作,我会发布一些图像

在此输入图像描述 在此输入图像描述

Hope this help 希望这有帮助

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

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