ViewInspector icon indicating copy to clipboard operation
ViewInspector copied to clipboard

Inspecting ViewController (UIHostingController)

Open MikePendo opened this issue 2 years ago • 0 comments

Hi Is it possible to inspect a view controller at run time. I.e SwiftUI creates UIHostingController whenever, it appears I would like to inspect it contents and get all the buttons (for instance). I have written my own reflector and after I traverse over all the label/child there are no types like buttons or gestures. Is it possible to achieve it?

MikePendo avatar Jun 23 '22 14:06 MikePendo