Contents

cancelLocalNotification(_:)

Cancels the delivery of the specified scheduled local notification.

Declaration

func cancelLocalNotification(_ notification: UILocalNotification)

Parameters

  • notification:

    The local notification to cancel.

Discussion

Calling this method also programmatically dismisses the notification if it is currently displaying an alert.

See Also

Deprecated methods