---
title: "removeScheduledNotification(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsusernotificationcenter/removeschedulednotification(_:)"
---

# removeScheduledNotification(_:)

Removes the specified user notification for the scheduled notifications.

## Declaration

```swift
func removeScheduledNotification(_ notification: NSUserNotification)
```

## Parameters

- `notification`: The user notification.

## Discussion

Discussion If the user notification’s deliveryDate occurs before the cancellation finishes, the notification may still be delivered. If the notification is not in the scheduled list, nothing happens.

## See Also

### Managing the Scheduled Notification Queue

- [scheduleNotification(_:)](foundation/nsusernotificationcenter/schedulenotification(_:).md)
- [scheduledNotifications](foundation/nsusernotificationcenter/schedulednotifications.md)
