Instance Property

orientation

The orientation of the device.

Declaration

var orientation: UIDeviceOrientation { get set }