<!--
{
  "availability" : [
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKApplication/didEnterBackgroundNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:@WKApplicationDidEnterBackgroundNotification"
  },
  "title" : "didEnterBackgroundNotification"
}
-->

# didEnterBackgroundNotification

A message indicating that the watchOS app transitioned from the foreground to the background.

```
class let didEnterBackgroundNotification: NSNotification.Name
```

## Discussion

When creating an app that uses the SwiftUI <doc://com.apple.documentation/documentation/SwiftUI/App> protocol to manage your life cycle, use the <doc://com.apple.documentation/documentation/SwiftUI/View/onChange(of:perform:)> modifier and the <doc://com.apple.documentation/documentation/SwiftUI/EnvironmentValues/scenePhase> environment value to monitor life cycle changes when possible. For more information, see <doc://com.apple.documentation/documentation/watchOS-Apps/building_a_watchos_app>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)