One Logo Pool Ball
UIKit · IOS API REFERENCE

UIInterfaceOrientation

enum · SDK 27.1

enum UIInterfaceOrientation

Members (3)

get

isLandscape

TypeScript
getIsLandscape($self: UIInterfaceOrientation): boolean
Swift declaration
var isLandscape: Bool { get }
get

isPortrait

TypeScript
getIsPortrait($self: UIInterfaceOrientation): boolean
Swift declaration
var isPortrait: Bool { get }
init

init

TypeScript
init(rawValue: number): (UIInterfaceOrientation) | null
Swift declaration
init?(rawValue: Int)

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →