UIScreen.Scale UIScreen.Scale Property

Definition

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

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

Property Value

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

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