PushReplacingLastAction
@MainActor
public struct PushReplacingLastAction<ViewController> : ContainerAction where ViewController : UINavigationController
Pushes a view controller into the UINavigationController
‘s child stack replacing the last one
-
Declaration
Swift
@MainActor public func perform(embedding viewController: UIViewController, in childViewControllers: inout [UIViewController])
-
Declaration
Swift
@MainActor public func perform(with viewController: UIViewController, on navigationController: ViewController, animated: Bool, completion: @escaping (_: RoutingResult) -> Void)
-
Pushes a view controller into the
UINavigationController
‘s child stack replacing the last oneDeclaration
Swift
@MainActor static var pushReplacingLast: `Self` { get }