ALAssetsLibraryAssetForURLResultBlock
Signature for the block executed if the user has granted access to the caller to access the data managed by the framework in Asset(for:resultblock:failureblock:).
Declaration
typealias ALAssetsLibraryAssetForURLResultBlock = (ALAsset?) -> VoidDiscussion
The block parameter is defined as follows:
- asset
The asset identified by the URL parameter in asset(for:resultBlock:failureBlock:).
If the asset is not found, asset is nil.