Enumeration

PHAssetCollectionType

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

Declaration

typedef enum PHAssetCollectionType : NSInteger {
    ...
} PHAssetCollectionType;

Topics

Constants

PHAssetCollectionTypeAlbum

An album in the Photos app.

PHAssetCollectionTypeSmartAlbum

A smart album whose contents update dynamically.

PHAssetCollectionTypeMoment

A moment in the Photos app.

Deprecated

See Also

Reading Asset Collection Metadata

assetCollectionType

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

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.

estimatedAssetCount

The estimated number of assets in the asset collection.

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).