---
title: applicationWillEnterForegroundNotification
framework: watchkit
role: symbol
role_heading: Type Property
path: watchkit/wkextension/applicationwillenterforegroundnotification
---

# applicationWillEnterForegroundNotification

A message indicating that the watchOS app is about to transition from the background to the foreground.

## Declaration

```swift
@MainActor @preconcurrency static var applicationWillEnterForegroundNotification: NSNotification.Name { get }
```

## Discussion

Discussion When creating an app that uses the SwiftUI App protocol to manage your life cycle, use the onChange(of:perform:) modifier and the scenePhase environment value to monitor life cycle changes when possible. For more information, see Building a watchOS app.

## See Also

### Observing messages from the notification center

- [applicationDidFinishLaunchingNotification](watchkit/wkextension/applicationdidfinishlaunchingnotification.md)
- [applicationDidBecomeActiveNotification](watchkit/wkextension/applicationdidbecomeactivenotification.md)
- [applicationWillResignActiveNotification](watchkit/wkextension/applicationwillresignactivenotification.md)
- [applicationDidEnterBackgroundNotification](watchkit/wkextension/applicationdidenterbackgroundnotification.md)
