---
title: "removeNotification(identifier:)"
framework: accessorynotifications
role: symbol
role_heading: Instance Method
path: "accessorynotifications/notificationsforwarding/accessorynotificationshandler/removenotification(identifier:)"
---

# removeNotification(identifier:)

Removes a previously-posted notification from your accessory.

## Declaration

```swift
func removeNotification(identifier: AccessoryNotification.Identifier)
```

## Parameters

- `identifier`: The identifier of the notification to remove.

## Discussion

Discussion The system calls this method when a notification needs to be removed, such as when a person dismisses it on another device or when the person deletes the app that sent the notification.

## See Also

### Removing notifications

- [removeAllNotifications()](accessorynotifications/notificationsforwarding/accessorynotificationshandler/removeallnotifications().md)
