Hi,
I'm trying to check some of my selected PHAsset in which PHAssetCollection
I use fetchAssetCollectionsContainingAsset:withType:options:
and it's worked for Type:PHAssetCollectionTypeAlbum.
But when I use Type:PHAssetCollectionTypeSmartAlbum, it's always return nil, I tried many kinds of fetchOptions. didn't worked.
I find this sentence in documents,
type
An asset collection type, such as an album or a moment. See PHAssetCollectionType.
can fetchAssetCollectionsContainingAsset:withType:options: support Type:PHAssetCollectionTypeSmartAlbum
or Just support PHAssetCollectionTypeAlbum & PHAssetCollectionTypeMoment
Thanks to everyone.