在 Xcode 5 中旋转故事板视图控制器

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

Rotate storyboard view controller in Xcode 5

xcodestoryboardxcode5

提问by Francis-Olivier Couture

I have a little problem... In Xcode 4.6, we could rotate our views in the storyboard in selecting orientation->landscape But I can't find the same button in Xcode 5....

我有一个小问题...在 Xcode 4.6 中,我们可以在选择orientation->landscape 时在故事板中旋转我们的视图但是我在Xcode 5 中找不到相同的按钮....

Thanks in advance !

提前致谢 !

采纳答案by Dave Batton

Remember where the Status Bar and Navigation Bar popups were in Xcode 4? The pane on the right? It's called the Attributes Inspector. You'll find Orientation is now there.

还记得 Xcode 4 中状态栏和导航栏弹出窗口的位置吗?右侧的窗格?它被称为属性检查器。你会发现方向现在就在那里。

回答by Dheeraj Kaveti

Well if you are still using xcode 4.6 and new to xcode 5.0,and wondering where are the orientations in simulated metrics pane.

好吧,如果您仍在使用 xcode 4.6 和 xcode 5.0 的新手,并且想知道模拟指标窗格中的方向在哪里。

Hover your Cursor on to "Simulated Metics" pane and an option called "Show" pops up click on it and you are good to go.

将光标悬停在“Simulated Metics”窗格上,会弹出一个名为“Show”的选项,单击它就可以了。

Please Find the below image

请找到下面的图片

Here is Step 1

这是第 1 步

Tricky Part

棘手的部分

Here is Step 2

这是第 2 步

Step 2

第2步