Deprecated NSScreen Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.7

userSpaceScaleFactor

Returns the scaling factor from user space to device space on the screen represented by the receiver. (Deprecated in OS X v10.7.)

- (CGFloat)userSpaceScaleFactor
Return Value

The scaling factor, measured in pixels per point, where a point is always equal to 1/72 of an inch. For example, a scaling factor of 2.0 indicates the display has a resolution 2 pixels per point or 144 pixels-per-inch.

Availability
  • Available in OS X v10.4 and later.
  • Deprecated in OS X v10.7.
Declared In
NSScreen.h