Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
177 views
in Technique[技术] by (71.8m points)

ios - How to get the 3D view of UI in 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.

After getting fascinated with newly added features, I installed Xcode 6.

Now, I am not able to find this 3D view of UI in ios.

I am using OSX 10.9.4.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
  1. 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.

  2. Navigate to the screen/view that you want to inspect within the running app.

  3. 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.

View Debugging

Alternatively, use the menu:

View Hierarchy

  1. Xcode will stop your app and lets you inspect your views. There's no need for you to set a breakpoint, Xcode will do that for you. However, if you want to set a breakpoint manually to inspect local variables etc. alongside your views, you can set a normal breakpoint and once the app pauses, press the View Debugging button in the Debug Area (bottom panel):

Debug Area


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...