UIDeviceOrientation 列挙型

定義

デバイスの向きの列挙。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIDeviceOrientation
type UIDeviceOrientation = 
継承
UIDeviceOrientation
属性

フィールド

FaceDown 6

デバイスが下向きです。

FaceUp 5

デバイスが上向きになっている。

LandscapeLeft 3

デバイスの下部が左を指しています。

LandscapeRight 4

デバイスの下部が右を指しています。

Portrait 1

デバイスの下部が下向きです。

PortraitUpsideDown 2

デバイスの下部が上向きです。

Unknown 0

デバイスの向きを特定できません。

注釈

現在のデバイスの向き。

適用対象