isGeneratingDeviceOrientationNotifications
A Boolean value that indicates whether the device generates orientation notifications.
Declaration
var isGeneratingDeviceOrientationNotifications: Bool { get }Discussion
If the value of this property is true, the shared UIDevice object posts a orientationDidChangeNotification notification when the device changes orientation. If the value is false, it generates no orientation notifications. Device orientation notifications can only be generated between calls to the beginGeneratingDeviceOrientationNotifications() and endGeneratingDeviceOrientationNotifications() methods.