---
title: willEnterForegroundNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiapplication/willenterforegroundnotification
---

# willEnterForegroundNotification

A notification that posts shortly before an app leaves the background state on its way to becoming the active app.

## Declaration

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

## Discussion

Discussion The object of the notification is the UIApplication object. There is no userInfo dictionary.

## 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)
- [didBecomeActiveNotification](uikit/uiapplication/didbecomeactivenotification.md)
- [didEnterBackgroundNotification](uikit/uiapplication/didenterbackgroundnotification.md)
- [willResignActiveNotification](uikit/uiapplication/willresignactivenotification.md)
- [willTerminateNotification](uikit/uiapplication/willterminatenotification.md)
