The root view controller is simply the view controller that sits at the bottom of the navigation stack. You can access the navigation controller’s array of view controllers through its viewControllers property . To access the root view controller, we ask for the first item of the array of view controllers.