Enumeration

PHCollectionListType

Major distinctions between kinds of collection list, used by the collectionListType property and fetchCollectionLists(with:subtype:options:) method.

Declaration

enum PHCollectionListType : Int

Topics

Constants

case momentList

A group of asset collections of type PHAssetCollectionType.moment.

Deprecated
case folder

A folder containing asset collections of type PHAssetCollectionType.album or PHAssetCollectionType.smartAlbum.

case smartFolder

A smart folder synced to the device from .

See Also

Reading Collection List Metadata

var collectionListType: PHCollectionListType

The type of asset collection group that the collection list represents.

var collectionListSubtype: PHCollectionListSubtype

The type of asset collection grouping the collection list represents.

var startDate: Date?

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

var endDate: Date?

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

var localizedLocationNames: [String]

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