VerticalAlignment

public enum VerticalAlignment : Equatable, CaseIterable

Controls where on the screen an automatically-sized view controller is placed vertically.

  • top

    Aligns the view to the top edge of the container.

    Declaration

    Swift

    case top
  • Centers the view vertically inside the container.

    Declaration

    Swift

    case middle
  • Aligns the view to the bottom edge of the container.

    Declaration

    Swift

    case bottom