简体   繁体   中英

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. 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.

Any help?

Adding some screen shots:

1) Orientation set to landscape 在此输入图像描述

2) What i want to get (roughly):

在此输入图像描述

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

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

Hope this help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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