---
title: willEnterForegroundNotification
framework: watchkit
role: symbol
role_heading: Type Property
path: watchkit/wkapplication/willenterforegroundnotification
---

# willEnterForegroundNotification

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

## Declaration

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

## 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

- [didFinishLaunchingNotification](watchkit/wkapplication/didfinishlaunchingnotification.md)
- [didBecomeActiveNotification](watchkit/wkapplication/didbecomeactivenotification.md)
- [willResignActiveNotification](watchkit/wkapplication/willresignactivenotification.md)
- [didEnterBackgroundNotification](watchkit/wkapplication/didenterbackgroundnotification.md)
