xcode 将 xib 文件中的视图旋转到横向模式
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6377961/
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
Rotate view in xib file to landscape mode
提问by Tono Nam
Possible Duplicate:
How do i rotate a window in xCode 4 interface builder tool thing?
Is it possible to rotate :
是否可以旋转:
to landscape mode. I want my application to just support landscape mode therefore it will be easier if I could work on landscape mode with Xcode. I know how to rotate the view on the iPhone and iPad simulator but I actually want to rotate it in Xcode.
到横向模式。我希望我的应用程序只支持横向模式,因此如果我可以使用 Xcode 在横向模式下工作会更容易。我知道如何在 iPhone 和 iPad 模拟器上旋转视图,但我实际上想在 Xcode 中旋转它。
回答by cesarislaw
It's under the Simulated Metrics section of the Attributes view.
它位于 Attributes 视图的 Simulated Metrics 部分下。