deviceOrientation top-level property

DeviceOrientation deviceOrientation
getter/setter pair

Implementation

var deviceOrientation = DeviceOrientation.portraitUp;