title: ViewController not loading from iOS 13.0 version onwards
body: <p>In iOS 13, I was unable to load the <code>TabBarViewController</code>. Below the iOS 13.0 version, it's working fine.</p>
  <pre><code>public static func updateRootVC(){
  
      var rootVC = UIViewController()
      let appDelegate = UIApplication.shared.delegate as! AppDelegate
  
      if(status == true){
  
          let tabBarController  = UIStoryboard(name: AppStoryboard.dashboard.rawValue, bundle: nil).instantiateViewController(withIdentifier: &quot;TabBarController&quot;) as! TabBarController
          appDelegate.window?.rootViewController = tabBarController
  
      }
  
      else{
          let welcomeViewController = UIStoryboard(name: AppStoryboard.main.rawValue, bundle: nil).instantiateViewController(withIdentifier: &quot;WelcomeViewController&quot;) as! WelcomeViewController
          rootVC = UINavigationController.init(rootViewController: welcomeViewController)
          rootVC.addChild(welcomeViewController)
          appDelegate.window?.rootViewController = rootVC
      }
  }
  </code></pre>
  <p>I manually included <code>SceneDelegate</code> inside my project, does it have any impact on this?</p>
  <p>Your solution should work from version iOS 13.0 onwards.</p>