VerticalLayout

public enum VerticalLayout : Equatable

Vertical sizing behavior for the presented view controller.

  • Sets the height of the view controller’s view according to the view controller’s preferredContentSize, property, if non-zero, or by calling systemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:) on the presented view controller’s view to determine the appropriate size.

    Declaration

    Swift

    case automatic(alignment: VerticalAlignment)
  • Fills the available space based on edgeInsets and ignoredEdgesForMargins.

    Declaration

    Swift

    case fill