在 xcode 中显示视图属性检查器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10471975/
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
Show view attributes inspector in xcode
提问by MJB
Any idea how I make this window visible in xcode?
知道如何在 xcode 中显示此窗口吗?


I want to change the orientation but I can't find the "Simulated Metrics" tab anywhere.
我想更改方向,但在任何地方都找不到“模拟指标”选项卡。
回答by Alladinian
Since Simulated Metricsapply only to UIViews(if you don't use Storyboards) and UIViewControllersubclasses the easiest way is to select the view or controller and do this:

由于Simulated Metrics仅适用于UIViews(如果不使用Storyboards)和UIViewController子类,最简单的方法是选择视图或控制器并执行以下操作:

回答by MJB
you only get this if you select viewController and select
如果您选择 viewController 并选择,您只会得到这个
View -> Utilities -> Show Attributes Inspector
查看 -> 实用工具 -> 显示属性检查器
回答by Alexander
You must have a view controller selected and the Utilities panel displayed.
您必须选择一个视图控制器并显示“实用工具”面板。

