Instance Property

size

The screen size, measured in pixels.

Declaration

@property(readonly, nonatomic) CGSize size;

Discussion

The value in this property represents the size of the underlying display buffer.

See Also

Accessing the Screen Mode Attributes

pixelAspectRatio

The aspect ratio of a single pixel.

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