localIdentifier

localIdentifier

localIdentifier Instance Property of PHObject A unique string that persistently identifies the object.

var localIdentifier: String { get }

Discussion

Use this string to find the object by using the fetchAssets(withLocalIdentifiers:options:)), fetchAssetCollections(withLocalIdentifiers:options:)), or fetchCollectionLists(withLocalIdentifiers:options:)) method.