xcode iOs 将 Storyboard 方向设置为横向

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/39825425/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:23:00  来源:igfitidea点击:

iOs set Storyboard orientation to landscape

iosxcodestoryboardorientationxcode8

提问by sanedroid

I wish to set View Controller's orientation as landscapein Storyboard. I referred the below links but couldn't find the "orientation" option anywhere (screenshot attached) enter image description here

我希望在 Storyboard中将 View Controller 的方向设置为横向。我参考了以下链接,但在任何地方都找不到“方向”选项(附截图) 在此处输入图片说明

Links referred:

链接参考:

Designing in landscape with Storyboards

使用故事板进行景观设计

iOS 7 XCode 5 Storyboard set orientation to Landscape

iOS 7 XCode 5 Storyboard 将方向设置为横向

回答by Rajat

In xcode 8 the option to change the orientation is not from Inspector, you will be able to change the orientation from bottom bar, please check the screenshot

在 xcode 8 中,更改方向的选项不是来自 Inspector,您可以从底部栏更改方向,请查看屏幕截图

enter image description here

在此处输入图片说明

回答by urvashi bhagat

Xcode 8 provides the option for landscape orientation from Storyboard itself.enter image description here

Xcode 8 提供了 Storyboard 本身的横向选项。在此处输入图片说明