[英]Alternative iOS layouts for portrait and landscape storyboard
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. 我需要为景观和波特率设计不同的布局,我知道如何使用.xib文件进行设计,但不知道如何使用情节提要来设计不同的布局。
I want something like This but using storyboard. 我想是这样 ,但用故事板。
please help me. 请帮我。
You will need to create different views or different constraints for each screen layout. 您将需要为每个屏幕布局创建不同的视图或不同的约束。
You can select the current screen layout here: 您可以在此处选择当前屏幕布局:
And you can determine whether a view is going to be present (installed) in that screen layout here (look at the bottom): 您可以在此处确定该视图中是否将要显示(安装)视图(在底部):
It should be clear after you play a bit with it. 在您玩了一点之后应该很清楚。 :)
:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.