UIScreen.CurrentMode UIScreen.CurrentMode Property


The active screen mode of this UIScreen.

[get: Foundation.Export("currentMode", ObjCRuntime.ArgumentSemantic.Strong)]
[set: Foundation.Export("setCurrentMode:", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual UIKit.UIScreenMode CurrentMode { get; set; }
member this.CurrentMode : UIKit.UIScreenMode with get, set

Property Value

The UIScreenMode contains the pixel aspect ratio and size.

This value can be null.


Application developers should note that the Size value is constant. That is, it's System.Drawing.SizeF.Height and System.Drawing.SizeF.Width do not switch due to the device's orientation.

Applies to

See also