Changing rootViewController doesn't display viewController set as root
问题 I have an initialViewController, if I find user login information, I route user to Home, but if I don't, I set register/login ViewController as root. I tested with break points that my register/login ViewController didLoad and didAppear getting execute, but my register/login ViewController don't show and initialViewController remains on screen. this is my code: public static func setRootViewController(withId id: String, storyBoardName: String) { let mainStoryboard: UIStoryboard = UIStoryboard