Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 enter image description here

2) What i want to get (roughly):

enter image description here

like image 478
Itzik984 Avatar asked Jul 30 '17 13:07

Itzik984


1 Answers

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

enter image description here enter image description here

Hope this help

like image 190
Reinier Melian Avatar answered Oct 03 '22 08:10

Reinier Melian