viewController(for:)
Returns the view controller in the arrangement for the placement you provide.
Declaration
@MainActor @preconcurrency final func viewController(for placement: UIArrangementViewController.ViewPlacement) -> UIViewController?Parameters
- placement:
The placement of the view controller.