Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the 3D view of UI in Xcode 6?

Tags:

ios

iphone

xcode6

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.

like image 956
Techie4u Avatar asked Sep 21 '14 19:09

Techie4u


4 Answers

  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

like image 89
hagi Avatar answered Nov 14 '22 05:11

hagi


Xcode6.0.1 View Debugging only can be used on iOS8 and 32-bit device .I do not know if this is a bug.

like image 9
foogry Avatar answered Nov 14 '22 04:11

foogry


Do you mean View Debugging?

If so:

  1. Run the app in the simulator
  2. At the point you want the 3D view select (in Xcode) Debug->View Debugging->Capture View Hierarchy
like image 3
Robotic Cat Avatar answered Nov 14 '22 06:11

Robotic Cat


For view debugging in Xcode 6 add a breakpoint that you want to debug.

When the app stops you can press this button...

enter image description here

And Xcode will enter view debugging on the current screen.

The app needs to be paused on a breakpoint though.

like image 1
Fogmeister Avatar answered Nov 14 '22 05:11

Fogmeister