Contents

remove(_:commit:)

Removes a reminder from the event store by either committing or batching the changes.

Declaration

func remove(_ reminder: EKReminder, commit: Bool) throws

Parameters

  • reminder:

    The reminder to remove.

  • commit:

    A Boolean value that indicates whether to remove the reminder immediately or to batch the removals; passing False won’t commit the removal from the event store until the Commit() method is invoked.

Mentioned in

Discussion

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

See Also

Related Documentation

Accessing calendar events