In my app, I am allowing the user to select photos from the album, but here I want to hide iCloud images for selection. I found this solution but not working for me, the iCloud image is visible to select. Picker should show local images and camera roll images for selection.
I tried below AssetCollection subtypes:
PHAssetCollectionSubtypeAlbumMyPhotoStream : found iCloud image PHAssetCollectionSubtypeSmartAlbumUserLibrary: found iCloud image
Any idea how to do that? Which PHAssetCollectionSubtype should have to use?