<!--
{
  "availability" : [
    "iOS: 26.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessoryNotifications",
  "identifier" : "/documentation/AccessoryNotifications/NotificationsForwarding",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Accessory Notifications"
    ],
    "preciseIdentifier" : "s:22AccessoryNotifications0B10ForwardingC"
  },
  "title" : "NotificationsForwarding"
}
-->

# NotificationsForwarding

A class for handling notification forwarding in your accessory’s data provider extension.

```
final class NotificationsForwarding
```

## Overview

Implement the [`NotificationsForwarding.AccessoryNotificationsHandler`](/documentation/AccessoryNotifications/NotificationsForwarding/AccessoryNotificationsHandler) protocol in your <doc://com.apple.documentation/documentation/AccessoryTransportExtension/AccessoryDataProvider> extension to receive and manage system notifications that iOS forwards to your accessory.

## Topics

### Creating a notifications forwarding object

[`init(_:)`](/documentation/AccessoryNotifications/NotificationsForwarding/init(_:))

Initializes a notifications-forwarding capability with a handler factory.

### Managing notification sessions

[`Session`](/documentation/AccessoryNotifications/NotificationsForwarding/Session)

A session object that facilitates bidirectional communication between the system and your extension.

[`AccessoryNotificationsSession`](/documentation/AccessoryNotifications/NotificationsForwarding/AccessoryNotificationsSession)

A protocol that enables bidirectional communication between your extension and the system.

### Handling notification events

[`AccessoryNotificationsHandler`](/documentation/AccessoryNotifications/NotificationsForwarding/AccessoryNotificationsHandler)

A protocol that defines methods for handling notification life cycle events in your extension.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`AccessoryFeature`](/documentation/AccessoryTransportExtension/AccessoryFeature)

[`Capability`](/documentation/ExtensionFoundation/AppExtensionPoint/Capability)

[`Identifiable`](/documentation/Swift/Identifiable)

---

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)