Instance Property

size

The screen size, measured in pixels.

Declaration

var size: CGSize { get }

Discussion

The value in this property represents the size of the underlying display buffer.

See Also

Accessing the Screen Mode Attributes

var pixelAspectRatio: CGFloat

The aspect ratio of a single pixel.