如何在Xcode 6中获取UI的3D视图? [英] How to get the 3D view of UI in Xcode 6?
问题描述
我是这个发展领域的新手。
我在使用Xcode 5.1.1一周后开始使用Xcode 6.
I am a newbie in this field of development. I started using Xcode 6 after using Xcode 5.1.1 for a week.
在对新添加的功能着迷后,我安装了Xcode 6。
After getting fascinated with newly added features, I installed Xcode 6.
现在,我无法在ios中找到这个UI的3D视图。
Now, I am not able to find this 3D view of UI in ios.
我使用的是OSX 10.9.4 。
I am using OSX 10.9.4.
推荐答案
-
运行应用程序。 View Debugging可在模拟器和设备上运行,但重要的是要注意它必须是 iOS 8 模拟器或设备。也就是说,您可以在项目中允许更早的部署目标,只需确保在尝试查看调试时在iOS 8上运行。
Run the app. View Debugging works in the simulator and on devices, but it's important to note that it needs to be an iOS 8 simulator or device. That said, you may allow earlier deployment targets in your project, just make sure you run on iOS 8 when you try View Debugging.
导航到屏幕/在运行的应用程序中查看要检查的内容。
Navigate to the screen/view that you want to inspect within the running app.
在导航器面板(左栏)中,选择调试导航器(第六个选项卡)。在您的流程旁边,您会看到两个按钮 - 按最右侧的按钮并选择查看UI层次结构
。
In the Navigators Panel (left column), select the Debug Navigator (sixth tab). Next to your process, you'll see two buttons – press the rightmost button and select View UI Hierarchy
.
或者,使用菜单:
- Xcode将停止您的应用并让您检查您的观看次数。你不需要设置断点,Xcode会为你做这个。但是,如果要手动设置断点以在视图旁边检查局部变量等,可以设置正常断点,一旦应用程序暂停,请按调试区域(底部面板)中的查看调试按钮:
这篇关于如何在Xcode 6中获取UI的3D视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!