Type Method


Retrieves assets using URLs provided by the Assets Library framework.


+ (PHFetchResult<PHAsset *> *)fetchAssetsWithALAssetURLs:(NSArray<NSURL *> *)assetURLs options:(PHFetchOptions *)options;



An array of NSURL objects, each an asset URL previously retrieved from an ALAsset object.


Options that specify a filter predicate and sort order for the fetched assets, or nil to use default options. For details, see PHFetchOptions.

Return Value

A fetch result that contains the requested PHAsset objects, or an empty fetch result if no objects match the request.


The Assets Library framework is deprecated in iOS 8.0 and later, replaced by the Photos framework. Use this method if your app has previously stored URLs from ALAsset objects and you need to retrieve the corresponding Photos framework objects.

See Also

Fetching Assets

Fetching Assets

Retrieve asset metadata or request full asset content.

+ fetchAssetsInAssetCollection:options:

Retrieves assets from the specified asset collection.

+ fetchAssetsWithMediaType:options:

Retrieves assets with the specified media type.

+ fetchAssetsWithLocalIdentifiers:options:

Retrieves assets with the specified local-device-specific unique identifiers.

+ fetchKeyAssetsInAssetCollection:options:

Retrieves assets marked as key assets in the specified asset collection.

+ fetchAssetsWithOptions:

Retrieves all assets matching the specified options.

+ fetchAssetsWithBurstIdentifier:options:

Retrieves assets with the specified burst photo sequence identifier.