---
title: "localIdentifiers(for:)"
framework: photos
role: symbol
role_heading: Instance Method
path: "photos/phphotolibrary/localidentifiers(for:)"
---

# localIdentifiers(for:)

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

## Declaration

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

## Parameters

- `cloudIdentifiers`: The iCloud identifiers for which to retrieve local identifier equivalents.

## Return Value

Return Value The array of corresponding iCloud identifiers.

## See Also

### Converting Between Local and iCloud Identifiers

- [cloudIdentifierMappings(forLocalIdentifiers:)](photos/phphotolibrary/cloudidentifiermappings(forlocalidentifiers:).md)
- [localIdentifierMappings(for:)](photos/phphotolibrary/localidentifiermappings(for:).md)
- [PHCloudIdentifier](photos/phcloudidentifier.md)
- [cloudIdentifiers(forLocalIdentifiers:)](photos/phphotolibrary/cloudidentifiers(forlocalidentifiers:).md)
- [PHLocalIdentifierNotFound](photos/phlocalidentifiernotfound.md)
