Alternative iOS layouts for portrait and landscape

2019-06-21 06:35发布

I need to design different layouts for landscape and potrate I know how to design using .xib file but don't get how design different layout using storyboard.

I want something like This but using storyboard.

please help me.

1条回答
等我变得足够好
2楼-- · 2019-06-21 06:36

You will need to create different views or different constraints for each screen layout.

You can select the current screen layout here:

enter image description here

And you can determine whether a view is going to be present (installed) in that screen layout here (look at the bottom):

enter image description here

It should be clear after you play a bit with it. :)

查看更多
登录 后发表回答