Tuesday, 27 August 2013

Test [ALAssetsLibrary writeImageToSavedPhotosAlbum]

Test [ALAssetsLibrary writeImageToSavedPhotosAlbum]

I using [ALAssetsLibrary writeImageToSavedPhotosAlbum] method to save
image to Photos on iOS.
It works prefect on device and simulator.
Is there way to produce error when
ALAssetsLibraryWriteImageCompletionBlock's error argument is not null?
EDIT: disabling application permission at Privacy->Photo settings set
error to ALAssetsLibraryAccessUserDeniedError.

No comments:

Post a Comment