UIWindow
public extension UIWindow
-
Set the root view controller of the window, using a subtle cross dissolve animation if
animated
istrue
.Declaration
Swift
func setRootViewController(_ viewController: UIViewController, animated: Bool)