Contents

layoutDirection

The layout direction associated with the current environment.

Declaration

var layoutDirection: UITraitEnvironmentLayoutDirection { get set }

Discussion

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

See Also

Getting and setting trait values