我如何在 xCode 4 界面构建器工具中旋转窗口?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5327927/
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
How do i rotate a window in xCode 4 interface builder tool thing?
提问by Keverw
I can't seem to find it. I know xCode 3 had a button to rotate on the view. I want to make the App Landscape. Any idea how?
我好像找不到 我知道 xCode 3 有一个按钮可以在视图上旋转。我想制作应用程序景观。知道怎么做吗?
回答by Eimantas
Open the Attributes inspectorfrom utilities sidebar (Cmd+Alt+4). You'll see the "Orientation" setting there.
从实用工具侧栏 (Cmd+Alt+4)打开属性检查器。您会在那里看到“方向”设置。
回答by CarmeloS
You mean the iPhone simulator? if so, click anywhere on the simulator, the see the menu, select device, you'll see rotate to left, rotate to right. I am not using an English simulator, so I am not sure about the name of the menu item, but i'm sure you'll be easy to find it.
你是说 iPhone 模拟器?如果是这样,请单击模拟器上的任意位置,查看菜单,选择设备,您将看到向左旋转,向右旋转。我没有使用英文模拟器,所以我不确定菜单项的名称,但我相信你会很容易找到它。