다음을 통해 공유


UIInterfaceOrientationExtensions 클래스

정의

UIInterfaceOrientation 열거형에 대한 확장 메서드입니다.

public static class UIInterfaceOrientationExtensions
type UIInterfaceOrientationExtensions = class
상속
UIInterfaceOrientationExtensions

설명

이 클래스의 확장 메서드는 UIInterfaceOrientation 형식의 열거와 함께 사용할 수 있는 몇 가지 편리한 메서드를 제공합니다.

메서드

IsLandscape(UIInterfaceOrientation)

원본이 가로 값 중 하나인지 확인합니다.

IsPortrait(UIInterfaceOrientation)

방향이 세로 방향 중 하나인지 확인합니다.

적용 대상