If I want to retrieve EKEvent
from EKEventStore
with eventWithIdentifier
method for previously saved event but I always get null.
The documentation warns that "If the calendar of an event changes, its identifier most likely changes as well." Did anything change about the event between the time you stored the eventIdentifer and when you attempted to delete it?
I am using newEvent.eventIdentifier
instead of newEvent.calendarItemIdentifier
and so far, using [store eventWithIdentifier:_project.event_identifier]
, I can retrieve, delete and edit an existing event. you should try.