cancel(id:)
Cancels the alarm with the specified ID.
Declaration
func cancel(id: Alarm.ID) throwsParameters
- id:
The identifier of the alarm to cancel.
Discussion
Deletes the alarm from the system even if the alarm has a repeating schedule.
Cancels the alarm with the specified ID.
func cancel(id: Alarm.ID) throwsThe identifier of the alarm to cancel.
Deletes the alarm from the system even if the alarm has a repeating schedule.