<!--
{
  "availability" : [
    "macOS: 10.13.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHPhotoLibrary/localIdentifiers(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHPhotoLibrary(im)localIdentifiersForCloudIdentifiers:"
  },
  "title" : "localIdentifiers(for:)"
}
-->

# localIdentifiers(for:)

Retrieves the equivalent local identifiers for the list of iCloud identifiers.

```
func localIdentifiers(for cloudIdentifiers: [PHCloudIdentifier]) -> [String]
```

## Parameters

`cloudIdentifiers`

The iCloud identifiers for which to retrieve local identifier equivalents.

## Return Value

The array of corresponding iCloud identifiers.

---

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)