One Logo Pool Ball
UIKit · IOS API REFERENCE

UIDeviceOrientation

enum · SDK 27.1

enum UIDeviceOrientation

Members (5)

get

isFlat

TypeScript
getIsFlat($self: UIDeviceOrientation): boolean
Swift declaration
var isFlat: Bool { get }
get

isLandscape

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

isPortrait

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

isValidInterfaceOrientation

TypeScript
getIsValidInterfaceOrientation($self: UIDeviceOrientation): boolean
Swift declaration
var isValidInterfaceOrientation: Bool { get }
init

init

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

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →