---
title: PHLocalIdentifierMapping
framework: photos
role: symbol
role_heading: Class
path: photos/phlocalidentifiermapping
---

# PHLocalIdentifierMapping

An object that contains the local identifier result from looking up a cloud identifier, or an error indicating why the lookup failed.

## Declaration

```occ
@interface PHLocalIdentifierMapping : NSObject
```

## Topics

### Getting the Local Identifier

- [localIdentifier](photos/phlocalidentifiermapping/localidentifier.md)

### Getting the Lookup Error Reason

- [error](photos/phlocalidentifiermapping/error.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

## See Also

### Converting Between Local and iCloud Identifiers

- [cloudIdentifierMappingsForLocalIdentifiers:](photos/phphotolibrary/cloudidentifiermappingsforlocalidentifiers:.md)
- [localIdentifierMappingsForCloudIdentifiers:](photos/phphotolibrary/localidentifiermappingsforcloudidentifiers:.md)
- [PHCloudIdentifier](photos/phcloudidentifier.md)
- [PHCloudIdentifierMapping](photos/phcloudidentifiermapping.md)
- [cloudIdentifiers(forLocalIdentifiers:)](photos/phphotolibrary/cloudidentifiers(forlocalidentifiers:).md)
- [localIdentifiers(for:)](photos/phphotolibrary/localidentifiers(for:).md)
- [PHLocalIdentifierNotFound](photos/phlocalidentifiernotfound.md)
