UIInterfaceOrientationMask 열거형

정의

사용자 인터페이스의 사용 가능한 방향을 지정하는 값의 열거형입니다.

이 열거형은 멤버 값의 비트 조합을 지원합니다.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UIInterfaceOrientationMask
type UIInterfaceOrientationMask = 
상속
UIInterfaceOrientationMask
특성

필드

All 30

UIViewController는 모든 인터페이스 방향을 지원합니다.

AllButUpsideDown 26

UIViewController는 거꾸로 세로를 제외한 모든 방향을 지원합니다.

Landscape 24

UIViewController는 가로 왼쪽 방향과 가로 오른쪽 방향을 모두 지원합니다.

LandscapeLeft 16

UIViewController는 가로 왼쪽 방향을 지원합니다.

LandscapeRight 8

UIViewController는 가로 오른쪽 방향을 지원합니다.

Portrait 2

긴 면은 세로입니다.

PortraitUpsideDown 4

UIViewController는 거꾸로 세로 방향을 지원합니다.

설명

UIViewControllerUIInterfaceOrientation이상의 를 지원할 수 있습니다. 및 SupportedInterfaceOrientationsForWindow(UIWindow)에서 반환된 이 값은 애플리케이션에서 GetSupportedInterfaceOrientations() 지원하는 방향을 지정합니다.

적용 대상

추가 정보