Instance Property

fixedCoordinateSpace

The fixed coordinate space of the screen.

Declaration

@property(readonly) id<UICoordinateSpace> fixedCoordinateSpace;

Discussion

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

coordinateSpace

The current coordinate space of the screen.