Contents

removeNotification(identifier:)

Removes a previously-posted notification from your accessory.

Declaration

func removeNotification(identifier: AccessoryNotification.Identifier)

Parameters

  • identifier:

    The identifier of the notification to remove.

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