<!--
{
  "availability" : [
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/WKNotificationScene",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI19WKNotificationSceneV"
  },
  "title" : "WKNotificationScene"
}
-->

# WKNotificationScene

A scene which appears in response to receiving the specified
category of remote or local notifications.

```
nonisolated struct WKNotificationScene<Content, Controller> where Content : View, Controller : WKUserNotificationHostingController<Content>
```

## Topics

### Creating a notification scene

[`init(controller:category:)`](/documentation/SwiftUI/WKNotificationScene/init(controller:category:))

Creates a scene that appears in response to receiving a specific
category of remote or local notifications.



---

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)