Instance Method

addAlarm(_:)

Adds an alarm to the receiver.

Declaration

func addAlarm(_ alarm: EKAlarm)

Parameters

alarm

The alarm to be added.

See Also

Adding and Removing Alarms

var hasAlarms: Bool

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

func removeAlarm(EKAlarm)

Removes an alarm from the calendar item.

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