Instance Property

estimatedAssetCount

The estimated number of assets in the asset collection.

Declaration

@property(nonatomic, assign, readonly) NSUInteger estimatedAssetCount;

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 fetchAssetsInAssetCollection: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

assetCollectionType

The type of the asset collection, such as an album or a moment.

PHAssetCollectionType

Major distinctions between kinds of asset collections, used by the assetCollectionType property and the fetchAssetCollectionsContainingAsset:withType:options: and fetchAssetCollectionsWithType:subtype:options: methods.

assetCollectionSubtype

The subtype of the asset collection.

PHAssetCollectionSubtype

Minor distinctions between kinds of asset collections, used by the assetCollectionSubtype property and the fetchAssetCollectionsWithType:subtype:options: method.

startDate

The earliest creation date among all assets in the asset collection.

endDate

The latest creation date among all assets in the asset collection.

approximateLocation

A location representing those of all assets in the collection.

localizedLocationNames

The names of locations grouped by the collection (an array of NSString objects).