Instance Property


A Boolean value that determines whether the vertical spacing between views is measured from their baselines.


@property(nonatomic, getter=isBaselineRelativeArrangement) BOOL baselineRelativeArrangement;


If YES, the vertical space between views are measured from the last baseline of a text-based view, to the first baseline of the view below it. Top and bottom views are also positioned so that their closest baseline is the specified distance away from the stack view’s edge. This property is only used by vertical stack views. Use the alignment property to baseline align views in a horizontal stack view.

The default value is NO.

See Also

Configuring The Layout


The alignment of the arranged subviews perpendicular to the stack view’s axis.


The axis along which the arranged views are laid out.


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


A Boolean value that determines whether the stack view lays out its arranged views relative to its layout margins.


The distance in points between the adjacent edges of the stack view’s arranged views.