Contents

bounds

The bounding rectangle of the screen, measured in points.

Declaration

var bounds: CGRect { get }

Discussion

This rectangle is specified in the current coordinate space, which takes into account any interface rotations in effect for the device. Therefore, the value of this property may change when the device rotates between portrait and landscape orientations.

See Also

Getting the size and scale