ViewInspector
ViewInspector copied to clipboard
Inspecting ViewController (UIHostingController)
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?