UIHostingController is loading before didFinishLaunchingWithOptions

Hello everybody,
I've been implementing new SwiftUI screens in my project integrated with my storyboard.
I have one main storyboard with an UITabBarController and some others UIViewControllers as Root ViewControllers. Now, I'm creating a new view, with SwiftUI and HostingViewController, but I realised this view is called before the didFinishLaunchingWithOptions from AppDelegate.
I initialise my SwiftUI View in required init inside the HostingViewController like some tutorials, but how can I create this screen without this problem? I tried initialise this view outside of init, but I've received other errors.



I'm running into the same issue here. Did you figure it out?

UIHostingController is loading before didFinishLaunchingWithOptions
 
 
Q