Closed phamquy closed 9 years ago
Oh, sorry, missed ur issue.. lol
Will take a look at it when i've got time :)
I'm afraid it's SDK's bug, someone else got this issue either: http://stackoverflow.com/questions/26003211/assetslibrary-framework-broken-on-ios-8
I debugged the code, and found the ALAssetsGroup
will return all albums included deleted ones.
[group valueForProperty:ALAssetsGroupPropertyName]
even tried to re-add the album but still not works, the only way left is to create a new album. Seems there's also no way to check whether the album is deleted. It sucks.
And b.t.w., from iOS 8, maybe u can choose to use Photo Kit.
You can't really use Photo kit if you want iOS7 compatibility so, this is quite a headache for now.
@sarperdag yeah, really bad.
Issue was fixed by PR https://github.com/Kjuly/ALAssetsLibrary-CustomPhotoAlbum/pull/19
When i try to save photo to album with same name as a deleted album. New album can not be created. Image is stilled added to library The album is just not created. No error is returned.