Contents

ALAssetsLibraryWriteImageCompletionBlock

Signature for the block executed when ALAssetsLibrary/writeImage(toSavedPhotosAlbum:orientation:completionBlock:) completes.

Declaration

typedef void (^)(NSURL *, NSError *) ALAssetsLibraryWriteImageCompletionBlock;

Discussion

The block parameters are defined as follows:

assetURL

An URL that identifies the saved image file.

If the image is not saved, assetURL is nil.

error

If the image is not saved, an error object that describes the reason for failure, otherwise nil.

See Also

Constants