---
title: didActivateNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiscene/didactivatenotification
---

# didActivateNotification

A notification that indicates that the scene is now onscreen and responding to user events.

## Declaration

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

## Discussion

Discussion Use this notification to prepare your scene to be onscreen. UIKit posts this notification after loading the interface for your scene, but before that interface appears onscreen. Use it to refresh the contents of views, start timers, or increase frame rates for your UI. UIKit places the scene object in the object property of the notification. UIKit also calls the sceneDidBecomeActive(_:) method of your scene delegate object. For more information on what to do when your app becomes active, see Preparing your UI to run in the foreground.

## See Also

### Responding to life cycle notifications

- [willConnectNotification](uikit/uiscene/willconnectnotification.md)
- [didDisconnectNotification](uikit/uiscene/diddisconnectnotification.md)
- [willEnterForegroundNotification](uikit/uiscene/willenterforegroundnotification.md)
- [willDeactivateNotification](uikit/uiscene/willdeactivatenotification.md)
- [didEnterBackgroundNotification](uikit/uiscene/didenterbackgroundnotification.md)
