Enumeration

PHAssetCollectionSubtype

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

Declaration

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

Topics

User Album Types

PHAssetCollectionSubtypeAlbumRegular

An album created in the Photos app.

PHAssetCollectionSubtypeAlbumSyncedEvent

An Event synced to the device from iPhoto.

PHAssetCollectionSubtypeAlbumSyncedFaces

A Faces group synced to the device from iPhoto.

PHAssetCollectionSubtypeAlbumSyncedAlbum

An album synced to the device from iPhoto.

PHAssetCollectionSubtypeAlbumImported

An album imported from a camera or external storage.

Cloud Album Types

PHAssetCollectionSubtypeAlbumMyPhotoStream

The user’s personal iCloud Photo Stream.

PHAssetCollectionSubtypeAlbumCloudShared

An iCloud Shared Photo Stream.

Smart Album Types

PHAssetCollectionSubtypeSmartAlbumGeneric

A smart album of no more specific subtype.

PHAssetCollectionSubtypeSmartAlbumPanoramas

A smart album that groups all panorama photos in the photo library.

PHAssetCollectionSubtypeSmartAlbumVideos

A smart album that groups all video assets in the photo library.

PHAssetCollectionSubtypeSmartAlbumFavorites

A smart album that groups all assets that the user has marked as favorites.

PHAssetCollectionSubtypeSmartAlbumTimelapses

A smart album that groups all time-lapse videos in the photo library.

PHAssetCollectionSubtypeSmartAlbumAllHidden

A smart album that groups all assets hidden from the Moments view in the Photos app.

PHAssetCollectionSubtypeSmartAlbumRecentlyAdded

A smart album that groups assets that were recently added to the photo library.

PHAssetCollectionSubtypeSmartAlbumBursts

A smart album that groups all burst photo sequences in the photo library.

PHAssetCollectionSubtypeSmartAlbumSlomoVideos

A smart album that groups all Slow-Mo videos in the photo library.

PHAssetCollectionSubtypeSmartAlbumUserLibrary

A smart album that groups all assets that originate in the user’s own library (as opposed to assets from iCloud Shared Albums).

PHAssetCollectionSubtypeSmartAlbumSelfPortraits

A smart album that groups all photos and videos captured using the device’s front-facing camera.

PHAssetCollectionSubtypeSmartAlbumScreenshots

A smart album that groups all images captured using the device’s screenshot function.

PHAssetCollectionSubtypeSmartAlbumDepthEffect

A smart album that groups all images captured using the Depth Effect camera mode on compatible devices.

PHAssetCollectionSubtypeSmartAlbumLivePhotos

A smart album that groups all Live Photo assets.

PHAssetCollectionSubtypeSmartAlbumAnimated

A smart album that groups all image animation assets.

PHAssetCollectionSubtypeSmartAlbumLongExposures

A smart album that groups all Live Photo assets where the Long Exposure variation is enabled.

Wildcard Search

PHAssetCollectionSubtypeAny

A bit mask representing all possible subtypes.

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.

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software