Contents

cancel(id:)

Cancels the alarm with the specified ID.

Declaration

func cancel(id: Alarm.ID) throws

Parameters

  • id:

    The identifier of the alarm to cancel.

Discussion

Deletes the alarm from the system even if the alarm has a repeating schedule.

See Also

Changing an alarm state