Major distinctions between kinds of collection list, used by the collection
property and fetch
, fetch
, and fetch
methods.
SDKs
- iOS 8+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 10+
Framework
- Photos
Declaration
enum PHCollectionListSubtype : Int
Major distinctions between kinds of collection list, used by the collection
property and fetch
, fetch
, and fetch
methods.
SDKs
Framework
enum PHCollectionListSubtype : Int
case moment List Cluster
The collection list is a moment cluster, grouping several related moments.
case moment List Year
The collection list is a moment year, grouping all moments from one or more calendar years.
case regular Folder
The collection list is a folder containing albums or other folders.
case smart Folder Events
The collection list is a smart folder containing one or more Events synced from iPhoto.
case smart Folder Faces
The collection list is a smart folder containing one or more Faces synced from iPhoto.
case any
Use this value to fetch collection lists of all possible subtypes.
var collection List Type: PHCollection List Type
The type of asset collection group that the collection list represents.
enum PHCollection List Type
Major distinctions between kinds of collection list, used by the collection
property and fetch
method.
var collection List Subtype: PHCollection List Subtype
The type of asset collection grouping the collection list represents.
var start Date: Date?
The earliest creation date among all assets in the collection list.
var end Date: Date?
The latest creation date among all assets in the collection list.
var localized Location Names: [String]
The names of locations grouped by the collection (an array of NSString
objects).