PushToDetailsAction

@MainActor
public struct PushToDetailsAction<ViewController> : ContainerAction where ViewController : UISplitViewController

Presents a detail view controller in the UISplitViewController, replacing the previous detail.

Methods

  • Declaration

    Swift

    @MainActor
    public func perform(embedding viewController: UIViewController, in childViewControllers: inout [UIViewController]) throws
  • Declaration

    Swift

    @MainActor
    public func perform(with viewController: UIViewController,
                        on splitViewController: ViewController,
                        animated: Bool,
                        completion: @escaping (_: RoutingResult) -> Void)

Available where ViewController == UISplitViewController

  • Presents a view controller as a detail in the UISplitViewController, replacing the previous detail.

    Declaration

    Swift

    @MainActor
    static var pushToDetails: `Self` { get }