---
title: modeDidChangeNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiscreen/modedidchangenotification
---

# modeDidChangeNotification

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

## Declaration

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

## Mentioned in

Processing queued notifications

## Discussion

Discussion Clients can use this notification to detect changes in the screen resolution. The object of the notification is the UIScreen object whose currentMode property changed. There is no userInfo dictionary. The system posts this notification on the main actor.

## See Also

### Notifications

- [brightnessDidChangeNotification](uikit/uiscreen/brightnessdidchangenotification.md)
- [capturedDidChangeNotification](uikit/uiscreen/captureddidchangenotification.md)
- [referenceDisplayModeStatusDidChangeNotification](uikit/uiscreen/referencedisplaymodestatusdidchangenotification.md)
