<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScreen/modeDidChangeNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIScreenModeDidChangeNotification"
  },
  "title" : "modeDidChangeNotification"
}
-->

# modeDidChangeNotification

A notification that posts when a screen’s mode changes.

```
nonisolated class let modeDidChangeNotification: NSNotification.Name
```

## Discussion

Clients can use this notification to detect changes in the screen resolution.

The object of the notification is the [`UIScreen`](/documentation/UIKit/UIScreen) object whose [`currentMode`](/documentation/UIKit/UIScreen/currentMode) property changed. There is no `userInfo` dictionary.

The system posts this notification on the main actor.

---

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)