Different layout in different orientation With Xcode 8

Hi guys,

i’ve a Problem with new auto layout of xocode 8.

i need to have two different layout: one with portrait orientation, one with landscape orientation. in detail, for example i want that a lable be over an table in portrait orientation and, in landscape orientation i want that the label be on the right of the table, therefore the table don’t be large like display in landscape orientation.

understand?

How can I do it?

before i had to set the constrains for every class size. And now?

Thank you

Use Size classes and UIStackView as a container (It can manage horizontal and vertical layouts).

Thank you @vimipatel but the problem was: ‘where are the Size classes?’. But in internet I’ve found an tutorial and I fixed the problem