Type Property

orientationDidChangeNotification

Posted when the orientation of the device changes.

Declaration

class let orientationDidChangeNotification: NSNotification.Name

Discussion

You can obtain the new orientation by getting the value of the orientation property.

See Also

Notifications