Instance Method

calendarItemsWithExternalIdentifier:

Returns either the event’s first occurrences or the reminders with the specified external identifier.

Declaration

- (NSArray<EKCalendarItem *> *)calendarItemsWithExternalIdentifier:(NSString *)externalIdentifier;

Parameters

externalIdentifier

The calendar item’s external identifier.

Return Value

An array of calendar items with the specified identifier.

Discussion

The external identifier can be obtained from the calendarItemExternalIdentifier property. There may be more than one matching calendar item due to reasons discussed in calendarItemExternalIdentifier.