Contents

didBecomeActiveNotification

A message indicating that the watchOS app is visible and processing events.

Declaration

@MainActor @preconcurrency static let didBecomeActiveNotification: NSNotification.Name

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