Contents

ALAssetsLibraryAssetForURLResultBlock

Signature for the block executed if the user has granted access to the caller to access the data managed by the framework in ALAssetsLibrary/asset(for:resultBlock:failureBlock:).

Declaration

typedef void (^)(ALAsset *) ALAssetsLibraryAssetForURLResultBlock;

Discussion

The block parameter is defined as follows:

asset

The asset identified by the URL parameter in ALAssetsLibrary/asset(for:resultBlock:failureBlock:).

If the asset is not found, asset is nil.

See Also

Constants