UINavigationControllerDelegate
The interface for an object that serves as a navigation controller’s delegate.
Declaration
@MainActor protocol UINavigationControllerDelegate : NSObjectProtocolOverview
Use a navigation controller delegate (a custom object that implements this protocol) to modify behavior when a view controller is pushed or popped from the navigation stack of a UINavigationController object.
Topics
Responding to a view controller being shown
Supporting custom transition animations
navigationController(_:animationControllerFor:from:to:)navigationController(_:interactionControllerFor:)navigationControllerPreferredInterfaceOrientationForPresentation(_:)navigationControllerSupportedInterfaceOrientations(_:)