简体   繁体   English

纵向和横向故事板的替代iOS布局

[英]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.

相关问题 仅使用一个.xib文件的纵向和横向的替代iOS布局 - Alternative iOS layouts for portrait and landscape using just one .xib file iOS自动布局:如何在Xcode故事板中为iPad版和iPad肖像设计不同的布局? - iOS auto layout: how to design different layouts for iPad landscape and iPad portrait in Xcode storyboard? 自动布局IOS 7故事板强制横向或纵向 - Autolayout IOS 7 Storyboard Force Landscape or Portrait iOS故事板限制/纵向和横向视图的特征 - iOS Storyboard Constraints/Traits for portrait and landscape view 故事板中的横向和纵向方向 - Landscape and portrait orientation in storyboard iOS:如何在情节提要中在横向和纵向视图之间切换? - iOS: how to switch between landscape and portrait view in storyboard? 如何在iOS 9上以横向和纵向模式显示iPad Launchscreen Storyboard? - How to display iPad Launchscreen Storyboard in landscape and portrait mode on iOS 9? 在iOS Interface Builder中使用StoryBoard支持横向和纵向 - Support Landscape and Portrait using StoryBoard in iOS Interface Builder 纵向和横向模式下的不同布局 - Different layouts in portrait and landscape mode iOS纵向和横向模式 - ios portrait and landscape mode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM