Instance Property

nativeScale

The native scale factor for the physical screen.

Declaration

var nativeScale: CGFloat { get }

See Also

Getting the Bounds Information

var bounds: CGRect

The bounding rectangle of the screen, measured in points.

var applicationFrame: CGRect

The frame rectangle for the app window, measured in points.

Deprecated
var nativeBounds: CGRect

The bounding rectangle of the physical screen, measured in pixels.

var scale: CGFloat

The natural scale factor associated with the screen.