Contents

assetLocalIdentifier

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

Declaration

var assetLocalIdentifier: String { get }

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