iOS Guides | Samples

MonoTouch.UIKit.UIDeviceOrientation Enumeration

An enumeration of device orientations.

Syntax

[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIDeviceOrientation

Remarks

The current device orientation.

Members

Member NameDescription
FaceDown
FaceUp
LandscapeLeft
LandscapeRight
Portrait
PortraitUpsideDown
Unknown

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIDeviceOrientation are listed below.

See Also: Enum

Public Fields