I use category ALAssetsLibrary+CustomPhotoAlbum to save image into a custom name album.
I recently encounter this problem: if i have an album (ex: myAlbum) in library, after i deleted it ALAssetsLibrary+CustomPhotoAlbum
unable to create an album with same name.
After debuging, i found out that the call to
[ALAssestLibrary addAssetsGroupAlbumWithName:resultBlock:failureBlock]
successfully return (the resultBlock was called). But the album is not created.
Anyone has same problem?
Please make sure you've turned on iCloud Shared Albums on iPhone: Go to the Settings app > [your name] > iCloud > Photos, then toggle on Shared Albums. You also need to make sure that iCloud Photos is enabled. Before getting photos and videos from shared albums on iPhone, you'll need to accept the Shared Album invite.
You can delete photos from your iPhone but keep them in iCloud by turning off iCloud photo sharing.
When you delete a shared album you own, it's removed from all your devices and the devices of all its subscribers. When you unsubscribe from an album, it's removed from all your devices.
I know my answer is very late but in case anyone face the same problem like me. The problem appears with me in iOS 8.0 or later and the solution is to use Photos.framework. Use the updated category from Github and please don't forget to import Photos.framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With