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 }
-
pushViewController
method with completion callbackDeclaration
Swift
public func pushViewController(_ viewController: UIViewController, animated: Bool, completion: (() -> Void)?)
-
popViewController
method with completion callbackDeclaration
Swift
public func popViewController(animated: Bool, completion: (() -> Void)?)
-
popToRootViewController
method with completion callbackDeclaration
Swift
public func popToRootViewController(animated: Bool, completion: (() -> Void)?)
-
popToViewController
method with completion callbackDeclaration
Swift
public func popToViewController(_ viewController: UIViewController, animated: Bool, completion: (() -> Void)?)