Reputation: 2500
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?
Upvotes: 6
Views: 1258
Reputation: 7123
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.
Upvotes: 7