Instance Property


The aspect ratio of a single pixel.


@property(readonly, nonatomic) CGFloat pixelAspectRatio;


The aspect ratio is defined as x/y, where x is the width of the pixel and y is the height of the pixel.

See Also

Accessing the Screen Mode Attributes


The screen size, measured in pixels.

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