Contents

layoutDirection

The layout direction associated with the current environment.

Declaration

var layoutDirection: UITraitEnvironmentLayoutDirection { get }

Discussion

Use this trait to determine whether the underlying environment uses a left-to-right or right-to-left orientation.

See Also

Retrieving interface-related traits