---
title: assetLocalIdentifier
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetresource/assetlocalidentifier
---

# assetLocalIdentifier

The unique identifier the system associates for a local asset object.

## Declaration

```swift
var assetLocalIdentifier: String { get }
```

## Discussion

Discussion This property’s value corresponds to the localIdentifier property of the PHAsset object that owns this asset resource. If you’ve obtained an asset resource without a reference to its owning asset, use the fetchAssets(withLocalIdentifiers:options:) method with this identifier to retrieve the correct PHAsset object.

## See Also

### Inspecting an Asset Resource

- [type](photos/phassetresource/type.md)
- [PHAssetResourceType](photos/phassetresourcetype.md)
- [contentType](photos/phassetresource/contenttype.md)
- [uniformTypeIdentifier](photos/phassetresource/uniformtypeidentifier.md)
- [originalFilename](photos/phassetresource/originalfilename.md)
- [pixelHeight](photos/phassetresource/pixelheight.md)
- [pixelWidth](photos/phassetresource/pixelwidth.md)
