---
title: didBecomeActiveNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiapplication/didbecomeactivenotification
---

# didBecomeActiveNotification

A notification that posts when the app becomes active.

## Declaration

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

## Discussion

Discussion An app is active when it is receiving events. An active app can be said to have focus. It gains focus after being launched, loses focus when an overlay window pops up or when the device is locked, and gains focus when the device is unlocked.

## See Also

### Responding to app life-cycle events

- [applicationDidBecomeActive(_:)](uikit/uiapplicationdelegate/applicationdidbecomeactive(_:).md)
- [applicationWillResignActive(_:)](uikit/uiapplicationdelegate/applicationwillresignactive(_:).md)
- [applicationDidEnterBackground(_:)](uikit/uiapplicationdelegate/applicationdidenterbackground(_:).md)
- [applicationWillEnterForeground(_:)](uikit/uiapplicationdelegate/applicationwillenterforeground(_:).md)
- [applicationWillTerminate(_:)](uikit/uiapplicationdelegate/applicationwillterminate(_:).md)
- [didEnterBackgroundNotification](uikit/uiapplication/didenterbackgroundnotification.md)
- [willEnterForegroundNotification](uikit/uiapplication/willenterforegroundnotification.md)
- [willResignActiveNotification](uikit/uiapplication/willresignactivenotification.md)
- [willTerminateNotification](uikit/uiapplication/willterminatenotification.md)
