Contents

ALAssetsLibraryAccessFailureBlock

Signature for the block executed if the user does not grant access to the caller to access the data managed by the framework.

Declaration

typedef void (^)(NSError *) ALAssetsLibraryAccessFailureBlock;

Discussion

The block parameter is defined as follows:

error

An error object that describes why access to the library failed.

This block type is used by ALAssetsLibrary/asset(for:resultBlock:failureBlock:) and ALAssetsLibrary/enumerateGroups(withTypes:using:failureBlock:).

See Also

Constants