<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDevice/isGeneratingDeviceOrientationNotifications",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIDevice(py)generatesDeviceOrientationNotifications"
  },
  "title" : "isGeneratingDeviceOrientationNotifications"
}
-->

# isGeneratingDeviceOrientationNotifications

A Boolean value that indicates whether the device generates orientation notifications.

```
var isGeneratingDeviceOrientationNotifications: Bool { get }
```

## Discussion

If the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the shared [`UIDevice`](/documentation/UIKit/UIDevice) object posts a [`orientationDidChangeNotification`](/documentation/UIKit/UIDevice/orientationDidChangeNotification) notification when the device changes orientation. If the value is <doc://com.apple.documentation/documentation/Swift/false>, it generates no orientation notifications. Device orientation notifications can only be generated between calls to the [`beginGeneratingDeviceOrientationNotifications()`](/documentation/UIKit/UIDevice/beginGeneratingDeviceOrientationNotifications()) and [`endGeneratingDeviceOrientationNotifications()`](/documentation/UIKit/UIDevice/endGeneratingDeviceOrientationNotifications()) methods.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)