PushOnToDetailsAction
@MainActor
public struct PushOnToDetailsAction<ViewController> : ContainerAction where ViewController : UISplitViewController
Pushes a view controller onto the detail stack in the UISplitViewController, where the detail is a UINavigationController
-
Declaration
Swift
@MainActor public func perform(embedding viewController: UIViewController, in childViewControllers: inout [UIViewController]) throws -
Declaration
Swift
@MainActor public func perform(with viewController: UIViewController, on splitController: ViewController, animated: Bool, completion: @escaping (_: RoutingResult) -> Void)
-
Pushes a view controller onto the detail stack in the
UISplitViewController. Requires the root detail view controller to be theUINavigationControllerDeclaration
Swift
@MainActor static var pushOnToDetails: `Self` { get }