Instance Property

alignment

The view alignment within the stack view.

Declaration

@property NSLayoutAttribute alignment;

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 NSLayoutAttribute enumeration in NSLayoutConstraint; see that enumeration for the other possible alignment values.

See Also

Configuring the Stack View Layout

orientation

The horizontal or vertical layout direction of the stack view.

NSUserInterfaceLayoutOrientation

The two stack view layout directions and, for clipping resistance and hugging priority, the two user interface axes.

spacing

The minimum spacing, in points, between adjacent views in the stack view.

edgeInsets

The geometric padding inside the stack view, surrounding its views, in points.

hasEqualSpacing

A Boolean value that indicates whether the spacing between adjacent views should equal each other.

Deprecated