I have a SwiftUI View instantiated from the scene delegate inside a UINavigationController
I would like to push to another UIViewController from the SwiftUI View
My Scene Delegate showing how my View is instantiated :
let vc = UIHostingController(rootView:SwiftUIView())
let navigationControll = UINavigationController(rootViewController: vc)
self.window?.rootViewController = navigationControll
// Present window to screen
self.window?.makeKeyAndVisible()
How can I achieve this?