Instance Property

userInterfaceLayoutDirection

Returns the layout direction of the user interface.

Declaration

var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection { get }

Discussion

This method specifies the general user interface layout flow direction. See UIUserInterfaceLayoutDirection for a description of the constants returned by this property.

See Also

Controlling App Appearance

enum UIUserInterfaceLayoutDirection

Specifies the directional flow of the user interface.