Instance Method

removeAlarm(_:)

Removes an alarm from the calendar item.

Declaration

func removeAlarm(_ alarm: EKAlarm)

Parameters

alarm

The alarm to be removed.

See Also

Adding and Removing Alarms

var hasAlarms: Bool

A Boolean value that indicates whether the calendar item has alarms.

func addAlarm(EKAlarm)

Adds an alarm to the receiver.

var alarms: [EKAlarm]?

The alarms associated with the calendar item, as an array of EKAlarm objects.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software