Contents

alignment

The view alignment within the stack view.

Declaration

var alignment: NSLayoutConstraint.Attribute { get set }

Discussion

The default value for this property depends on whether the stack view is horizontal or vertical:

These constants are described as part of the NSLayoutConstraint.Attribute enumeration in NSLayoutConstraint; see that enumeration for the other possible alignment values.

See Also

Configuring the Stack View Layout