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 callingsystemLayoutSizeFitting(_: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
andignoredEdgesForMargins
.Declaration
Swift
case fill