Contents

remove(_:span:)

Removes an event from the event store.

Declaration

func remove(_ event: EKEvent, span: EKSpan) throws

Parameters

  • event:

    The event to remove.

  • span:

    The span that indicates whether to remove a single event or all future instances of the event in the case of a recurring event.

Discussion

This method raises an exception if the event belongs to another event store.

See Also

Accessing calendar events