STRUCT
Display
public struct Display: Equatable
A struct that provides an extended info on the display.
size
public var size: Size
Screen size in inches.
resolution
public var resolution: CGSize
Resolution of the device.
physicalResolution
public var physicalResolution: CGSize
Full physical resolution of the device, without any down-/up-sampling.
renderedResolution
public var renderedResolution: CGSize
Rendered resolution of the device, with down-/up-sampling.
scale
public var scale: Float
Screen scale, 1.0 for non-Retina devices.
density
public var density: Int
Density of the display in PPI (pixels-per-inch).
hasTrueTone
public var hasTrueTone: Bool
True Tone display.
colorSpace
public var colorSpace: ColorSpace
Color space.