Reading Apple's docs, I'm still confused as to what the difference is between EKCalenderItem's calendarItemExternalIdentifier and EKEvent's eventIdentifier, and which one we should use to identify calendar events across different devices. Specifically:
EKCalendarItem calendarItemExternalIdentifier The calendar item’s external identifier as provided by the calendar server. (read-only)
and
EKEvent eventIdentifier: A unique identifier for the event. (read-only)
EKCalendarItem calendarItemExternalIdentifier was added in iOS6, and I would have thought this would be the identifier I need to save to call later in EKEventStore eventWithIdenfier:
since it claims:
This identifier allows you to access the same event or reminder across multiple devices.
But in my own testing, it seems that when I create and save a new EKEvent, the eventIdenifier I get from the EKEvent object is unique and useful, and the calendarItemExternalIdentifier I get doesn't seem to work with EKEventStore eventWithIdenfier:
If someone has a conclusive answer, I would love to know.