UIKit.UIScreen.Scale Property
The natural scale factor of this UIScreen. Read-only.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_0)]
[get: Foundation.Export("scale")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_0)]
public virtual nfloat Scale { get; }

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.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0