Instance Method

refresh()

Updates the event’s data with the current information in the Calendar database.

Declaration

func refresh() -> Bool

Return Value

If the event was successfully refreshed, true; otherwise, false.

Discussion

You should call this method only on events that your application is editing, and only when your application receives the EKEventStoreChanged notification. If this method returns false, the event has been deleted or otherwise invalidated, and you should not continue to use it.

This method does not replace the values of any properties that you have modified.