<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "EventKit",
  "identifier" : "/documentation/EventKit/EKEventStore/calendarItems(withExternalIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:objc(cs)EKEventStore(im)calendarItemsWithExternalIdentifier:"
  },
  "title" : "calendarItems(withExternalIdentifier:)"
}
-->

# calendarItems(withExternalIdentifier:)

Locates all reminders or the first occurrences of all events with the specified external identifier.

```
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`](/documentation/EventKit/EKCalendarItem/calendarItemExternalIdentifier) to obtain the external identifier. There may be more than one matching calendar item due to reasons discussed in `calendarItemExternalIdentifier`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)