Instance Method

navigationController(_:didShow:animated:)

Called just after the navigation controller displays a view controller’s view and navigation item properties.

Declaration

optional func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool)

Parameters

navigationController

The navigation controller that is showing the view and properties of a view controller.

viewController

The view controller whose view and navigation item properties are being shown.

animated

true to animate the transition; otherwise, false.

See Also

Responding to a View Controller Being Shown

func navigationController(UINavigationController, willShow: UIViewController, animated: Bool)

Called just before the navigation controller displays a view controller’s view and navigation item properties.