---
title: "requestForwarding(for:)"
framework: accessorynotifications
role: symbol
role_heading: Instance Method
path: "accessorynotifications/accessorynotificationcenter/requestforwarding(for:)"
---

# requestForwarding(for:)

Requests permission to forward notifications and Live Activities to the specified accessory.

## Declaration

```swift
func requestForwarding(for accessory: ASAccessory) async throws -> ForwardingDecision
```

## Parameters

- `accessory`: An accessory object that https://developer.apple.com/documentation/accessorysetupkit provides when your companion app registers the accessory.

## Discussion

Discussion This method prompts the person to select which apps on their device can forward notifications and Live Activities to your accessory. The person can choose all apps, some apps, no apps, or dismiss the prompt. This method throws AccessoryError.unsupportedPlatform if called on an unsupported device; call this method on iPhone only.
