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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21495340/
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 04:36:49  来源:igfitidea点击:

iOS 7 XCode 5 Storyboard set orientation to Landscape

iosiphoneobjective-cxcode

提问by majidarif

I have set the allowed orientation on the project settings to Landscape only. Now I want to design on the storyboard, but the storyboard is portrait, I only support Landscape so I try to make the storyboard orient on landscape, I go to Simulated Metrics, and I didn't see anything that says "orientation", just ViewController stuff, like Layout, Extend Edges, Transition Style, etc...

我已将项目设置中允许的方向设置为仅横向。现在我想在情节提要上进行设计,但是情节提要是纵向的,我只支持横向,所以我尝试使情节提要面向横向,我去了模拟指标,但我没有看到任何说“方向”的东西,只是ViewController 的东西,比如布局、扩展边缘、过渡样式等......

I am making a game with SpriteKid and I'm trying to make a Main Menu with the storyboard.

我正在使用 SpriteKid 制作游戏,并且正在尝试使用故事板制作主菜单。

回答by Zen

Well it might be collapsed. You need to hover your mouse over the title to see the showbutton which will expand the list.

那么它可能会崩溃。您需要将鼠标悬停在标题上才能看到show将展开列表的按钮。

enter image description here

在此处输入图片说明

The full options list will be shown as this image :

完整的选项列表将如下图所示:

enter image description here

在此处输入图片说明

回答by amalicka

The trick is to tap close enough to the border of view. The menu is visible when the border change into blue one

诀窍是点击足够接近视图边界。当边框变为蓝色时菜单可见

回答by Cy-4AH

It's there. Second row. Don't know why you can't see it.

在那。第二排。不知道为什么看不到。

Orientation - Landscape

方向 - 景观

回答by Ken Loc

Choose main.storyboard -> choose Viewcontroller (1) -> choose button "show" (2) -> change Orientation: "Landscape" (3)

选择 main.storyboard -> 选择 V​​iewcontroller (1) -> 选择按钮 "show" (2) -> 改变 Orientation: "Landscape" (3)