Type Method


Creates a temporary asset collection containing the specified assets.


+ (PHAssetCollection *)transientAssetCollectionWithAssets:(NSArray<PHAsset *> *)assets title:(NSString *)title;



An array of PHAsset objects.


A name for the new temporary asset collection.

Return Value

A new asset collection.


Transient asset collections are not saved to local storage or iCloud and do not appear in the Photos app or other apps using the Photos framework. A transient collection can be useful if you’ve designed a UI for displaying the contents of a collection and want to display an arbitrary set of assets.

See Also

Creating Temporary Asset Collections

+ transientAssetCollectionWithAssetFetchResult:title:

Creates a temporary asset collection containing the assets from the specified fetch result.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software