Contents

UIStackView.Alignment.leading

A layout for vertical stacks where the stack view aligns the leading edge of its arranged views along its leading edge.

Declaration

case leading

Discussion

This value is equivalent to the top alignment for horizontal stacks.

The following image shows an example of a vertical stack view that uses the UIStackView.Alignment.leading alignment.

[Image]

See Also

Constants