Contents

isPortrait

A Boolean value that indicates whether the device is in a portrait orientation.

Declaration

var isPortrait: Bool { get }

See Also

Determining the current orientation