I wonder if its possible to set a new root VC?
My app gets init with a uinavigation controller that has a table view to be the root VC.
Then from the table v
Swift 4, 5, 5.1
let story = UIStoryboard(name: "Main", bundle:nil) let vc = story.instantiateViewController(withIdentifier: "NewViewController") as! NewViewController UIApplication.shared.windows.first?.rootViewController = vc UIApplication.shared.windows.first?.makeKeyAndVisible()