Contents

traitCollection

The traits that describe the current layout environment of the view, such as the user interface style and layout direction.

Declaration

var traitCollection: UITraitCollection { get set }

See Also

Managing configuration states