Initializes and returns a newly created navigation controller.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The view controller that resides at the bottom of the navigation stack. This object cannot be an instance of the
The initialized navigation controller object or
nil if there was a problem initializing the object.
This is a convenience method for initializing the receiver and pushing a root view controller onto the navigation stack. Every navigation stack must have at least one view controller to act as the root.