Instance Property

nativeBounds

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

Declaration

var nativeBounds: CGRect { get }

Discussion

This rectangle is based on the device in a portrait-up orientation. This value does not change as the device rotates.

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 nativeScale: CGFloat

The native scale factor for the physical screen.

var scale: CGFloat

The natural scale factor associated with the screen.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software