UIScreen.Scale Property

Definition

The natural scale factor of this UIScreen. Read-only.

public virtual nfloat Scale { [Foundation.Export("scale")] get; }
member this.Scale : nfloat

Property Value

1.0 for standard-resolution displays, 2.0 for Retina displays.

Attributes

Remarks

This property holds the scale necessary to convert between "logical" coordinate space (measured in points) and the screen's coordinate space. On standard-resolution displays, the value is 1.0. On Retina displays, this value is 2.0, so a logical point comprises 4 pixels.

Applies to