Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot create album with same name as a deleted one on IOS?

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?

like image 749
jAckOdE Avatar asked Sep 12 '14 11:09

jAckOdE


People also ask

Why won't my iPhone let me create a shared album?

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.

Can I delete photos from my iPhone but keep them in an album?

You can delete photos from your iPhone but keep them in iCloud by turning off iCloud photo sharing.

What happens when you delete a shared album on iPhone?

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.


1 Answers

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.

like image 81
Hossam Ghareeb Avatar answered Sep 26 '22 19:09

Hossam Ghareeb