Reputation: 3657
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?
Upvotes: 7
Views: 3145
Reputation: 483
Works nice in combination, if you also set the Capture View Hierarchy to say: command + shift + V
Upvotes: 0
Reputation: 7516
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.
Upvotes: 16