0

Since ALAssetsGroup was replaced by PHAssetCollection on Photos Framework how can I uniquely identify an asset collection (album) even if the user renames it? I was using ALAssetsGroupPropertyPersistentID before PhotoKit existed.

fpg1503
  • 7,492
  • 6
  • 29
  • 49

1 Answers1

1

Every PHCollection is a subclass of PHObject which has a property localIdentifier which never changes for a collection.

jarora
  • 5,384
  • 2
  • 34
  • 46