---
title: didChangeNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uicontentsizecategory/didchangenotification
---

# didChangeNotification

A notification that posts when the user changes the preferred content size setting.

## Declaration

```swift
nonisolated static let didChangeNotification: NSNotification.Name
```

## Mentioned in

Scaling fonts automatically

## Discussion

Discussion This notification is sent when the value in the preferredContentSizeCategory property changes. The userInfo dictionary of the notification contains the newValueUserInfoKey key, which reflects the new setting.

## See Also

### Managing the preferred content size

- [preferredContentSizeCategory](uikit/uiapplication/preferredcontentsizecategory.md)
- [UIContentSizeCategory](uikit/uicontentsizecategory.md)
- [UIContentSizeCategoryAdjusting](uikit/uicontentsizecategoryadjusting.md)
- [newValueUserInfoKey](uikit/uicontentsizecategory/newvalueuserinfokey.md)
