In the Xcode 9 view debugger, I'd like to select a view in the 3-D exploded diagram of views, and then reveal that view in the hierarchy on the left. I know I can "focus" on that view by double-clicking it or selecting "Focus on UIView" from the contextual menu. I know I can also filter by some part of the type of view I want to find, but I actually just want to view I have selected in the context of the complete hierarchy in a single step. I haven't found a way of doing this-- am I missing something?
Asked
Active
Viewed 2,144 times
2 Answers
15
You can use the Xcode menu item "Navigate / Reveal in Debug Navigator" to reveal the selected item in the outline view.
Or the convenient keyboard shortcut ⌘ + Shift + D.

Chris Miles
- 7,346
- 2
- 37
- 34
-
2Awesome! can't give you enough upvotes. Anyway, this is something that should be automatic, not with a shortcut or a menu option – OscarVGG Sep 04 '18 at 08:48
0
Works nice in combination, if you also set the Capture View Hierarchy to say: command + shift + V

7RedBits.com
- 454
- 6
- 6