calendarItems(withExternalIdentifier:)
Locates all reminders or the first occurrences of all events with the specified external identifier.
Declaration
func calendarItems(withExternalIdentifier externalIdentifier: String) -> [EKCalendarItem]Parameters
- externalIdentifier:
The calendar item’s external identifier.
Return Value
An array of calendar items with the specified identifier.
Discussion
Use calendarItemExternalIdentifier to obtain the external identifier. There may be more than one matching calendar item due to reasons discussed in calendarItemExternalIdentifier.