Enumeration

WKInterfaceLayoutDirection

Specifies the directional flow of the user interface.

Declaration

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

Topics

Constants

WKInterfaceLayoutDirectionLeftToRight

The layout direction is left-to-right.

WKInterfaceLayoutDirectionRightToLeft

The layout direction right-to-left. This value is appropriate when your app is running with localizations such as Arabic or Hebrew that should have the user interface layout origin on the right edge of the coordinate system.

See Also

Getting the Layout Direction

layoutDirection

The layout direction of the user interface.

+ interfaceLayoutDirectionForSemanticContentAttribute:

Returns the user interface direction for the given semantic content attribute.

WKInterfaceSemanticContentAttribute

A semantic description of the view’s contents, used to determine whether the view should be flipped when switching between left-to-right and right-to-left layouts.