Contents

placement(for:)

Returns the placement for the provided view controller in the arrangement.

Declaration

@MainActor @preconcurrency final func placement(for viewController: UIViewController) -> UIArrangementViewController.ViewPlacement?

Parameters

  • viewController:

    The view controller in the arrangement.

Discussion

Returns nil if the provided view controller isn’t one of the view controllers in the arrangement with a specific placement.

See Also

Managing arrangement view controllers