Enumeration

UIUserInterfaceLayoutDirection

Specifies the directional flow of the user interface.

Declaration

enum UIUserInterfaceLayoutDirection : Int

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

case leftToRight

The layout direction is left to right.

case rightToLeft

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

var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection

Returns the layout direction of the user interface.