Enumeration

UIUserInterfaceLayoutDirection

Specifies the directional flow of the user interface.

Declaration

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

Overview

One of these constants is returned by the userInterfaceLayoutDirection property. It indicates the directionality of the language in the user interface of the app.

Topics

Constants

UIUserInterfaceLayoutDirectionLeftToRight

The layout direction is left to right.

UIUserInterfaceLayoutDirectionRightToLeft

The layout direction right to left. This value is appropriate when 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

Controlling App Appearance

userInterfaceLayoutDirection

Returns the layout direction of the user interface.