Richard Topchii
Richard Topchii

Reputation: 8215

_UIRemoteView - reveal view hierarchy in Xcode

I'd like to see, how the Apple's UI frameworks are composed, in particular, the ContactsUI. However, when I try to Debug View Hierarchy in Xcode, I see only the blank _UIRemoteView.

Is there any way to peek inside the view hierarchy of the contact composer view?

On the left - how the composer looks like .
On the right - what's visible in the Xcode view hierarchy debugger

enter image description here

Upvotes: 1

Views: 1482

Answers (2)

user1118321
user1118321

Reputation: 26395

A UIRemoteView is a view that lives in some other process. In this case there is likely some XPC service that the Contacts app uses to supply other applications with contact records and UI to edit them. Because the view is in another process, you can't see how it's made by looking at the view hierarchy in your own process.

Upvotes: 3

wolfrevo
wolfrevo

Reputation: 2032

No.

The view hierarchy isn't provided by your process, so you don't have access to it.

Upvotes: 0

Related Questions