Instance Property


The fixed coordinate space of the screen.


var fixedCoordinateSpace: UICoordinateSpace { get }


The bounds of this coordinate space always reflect the screen dimensions of the device in a portrait-up orientation. You can use this coordinate space in places where you need a fixed frame of reference. For example, if your app saves screen coordinate values to disk, convert those values to the fixed coordinate space before doing so. Saving them in the fixed coordinate space ensures that when your app reads the values later, it can convert them to the current coordinate space correctly.

See Also

Getting the Screen Coordinate Spaces

var coordinateSpace: UICoordinateSpace

The current coordinate space of 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