Contents

displayScale

The display scale of the trait collection.

Declaration

var displayScale: CGFloat { get }

Discussion

A value of 1.0 indicates a non-Retina display, 2.0 indicates a Retina display, and 3.0 indicates a Super Retina display. The default display scale for a trait collection is 0.0 (indicating unspecified).

See Also

Retrieving display-related traits