Instance Method

calendarItems(withExternalIdentifier:)

Returns either the event’s first occurrences or the reminders 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

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software