Saves changes to an event permanently.
- iOS 4.0+
- macOS 10.14+
- Mac Catalyst 13.0+
The event to be saved.
The span to use. Indicates whether the save affects future instances of the event in the case of a recurring event.
The error that occurred, if any; otherwise,
If the event has successfully saved,
false. Also returns
event does not need to be saved because it was not modified.
This method raises an exception if it is passed an event from another event store.
When an event is saved, it is updated in the Calendar database. Any fields you did not modify are updated to reflect the most recent value in the database. If the event has been deleted from the database, it is re-created as a new event.