Kjuly / ALAssetsLibrary-CustomPhotoAlbum

A nice ALAssetsLibrary category for saving images & videos into custom photo album.
http://www.touch-code-magazine.com/ios5-saving-photos-in-custom-photo-album-category-for-download/
MIT License
405 stars 101 forks source link

When custom album was deleted by somebody through system PhotoApp, execute -saveImage:toAlbum:completion:failure:will throw error #38

Closed zzyspace closed 9 years ago

zzyspace commented 9 years ago

Error Domain=LIB_ALAssetsLibrary_CustomPhotoAlbum Code=0 "ALAssetsGroup failed to add asset: ALAsset - Photo, URLs:assets-library://asset/jpg?id=DB9A4152-9517-43D3-A587-5D5A8A50DAE3&ext= jpg." UserInfo=0x17027a740 {NSLocalizedDescription=ALAssetsGroup failed to add asset: ALAsset - Photo, URLs:assets-library://asset/jpg?id=DB9A4152-9517-43D3-A587-5D5A8A50DAE3&ext=jpg.}

zzyspace commented 9 years ago

but the photo can still save to camera roll, just can't creat the custom album and throw error

zzyspace commented 9 years ago

Look forward to your reply. thx~

Kjuly commented 9 years ago

Latest lib version? Have u imported the Photos.framework?

Plz refer to https://github.com/Kjuly/ALAssetsLibrary-CustomPhotoAlbum/issues/29 & https://github.com/Kjuly/ALAssetsLibrary-CustomPhotoAlbum/issues/32.

zzyspace commented 9 years ago

Thx 4 your reply! It works well after import the Photos.framework!

Kjuly commented 9 years ago

Cool :)