Contents

distribution

The distribution of the arranged views along the stack view’s axis.

Declaration

var distribution: UIStackView.Distribution { get set }

Discussion

This property determines how the stack view lays out its arranged views along its axis. The default value is UIStackView.Distribution.fill. For a list of possible values, see UIStackView.Distribution.

See Also

Configuring the layout