Enumeration

NSUserInterfaceLayoutOrientation

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

Declaration

typedef enum NSUserInterfaceLayoutOrientation : NSInteger {
    ...
} NSUserInterfaceLayoutOrientation;

Topics

Constants

NSUserInterfaceLayoutOrientationHorizontal

For the orientation property, horizontal layout for the stack view. For clipping resistance and hugging priority, the horizontal user interface axis.

NSUserInterfaceLayoutOrientationVertical

For the orientation property, vertical layout for the stack view. For clipping resistance and hugging priority, the vertical user interface axis.

See Also

Configuring the Stack View Layout

orientation

The horizontal or vertical layout direction of the stack view.

alignment

The view alignment within the stack view.

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