Szerkesztés

Megosztás a következőn keresztül:


UIDeviceOrientation Enum

Definition

An enumeration of device orientations.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIDeviceOrientation
type UIDeviceOrientation = 
Inheritance
UIDeviceOrientation
Attributes

Fields

Name Value Description
Unknown 0

The orientation of the device cannot be determined.

Portrait 1

The bottom of the device is pointing downward.

PortraitUpsideDown 2

The bottom of the device is pointing upward.

LandscapeLeft 3

The bottom of the device is pointing to the left.

LandscapeRight 4

The bottom of the device is pointing to the right.

FaceUp 5

The device is facing upward.

FaceDown 6

The device is facing downward.

Remarks

The current device orientation.

Applies to