UINavigationController
extension UINavigationController: CustomRouteInspectables
Conformance of the UINavigationController to the RouteInspectable protocol.
In a UINavigationController the next visible controller is the topViewController.
-
Declaration
Swift
public var nextRouteControllers: [UIViewController] { get } -
pushViewControllermethod with completion callbackDeclaration
Swift
public func pushViewController(_ viewController: UIViewController, animated: Bool, completion: (() -> Void)?) -
popViewControllermethod with completion callbackDeclaration
Swift
public func popViewController(animated: Bool, completion: (() -> Void)?) -
popToRootViewControllermethod with completion callbackDeclaration
Swift
public func popToRootViewController(animated: Bool, completion: (() -> Void)?) -
popToViewControllermethod with completion callbackDeclaration
Swift
public func popToViewController(_ viewController: UIViewController, animated: Bool, completion: (() -> Void)?)
View on GitHub
UINavigationController Extension Reference