Contents

estimatedAssetCount

The estimated number of assets in the asset collection.

Declaration

var estimatedAssetCount: Int { get }

Discussion

This count may not match the current number of assets in the collection. To get the most recent count, fetch the collection’s assets with the fetchAssets(in:options:) method and read the count property of the fetch result.

If asset count information is not available for the collection, this property’s value is NSNotFound.

See Also

Reading Asset Collection Metadata