Instance Property

includeAssetSourceTypes

The set of source types for which to include assets in the fetch result.

Declaration

var includeAssetSourceTypes: PHAssetSourceType { get set }

Discussion

Asset source types identify the means by which an asset enters the Photos library, and affect the possible actions you can perform on an asset. For example, assets synced from iTunes cannot be edited or deleted.

The PHAssetSourceType type is an option set—to include multiple source types in the same query, combine type constants with the bitwise OR operator (Objective-C) or OptionSetType set syntax (Swift).

See Also

Limiting Fetch Results

var fetchLimit: Int

The maximum number of objects to include in the fetch result.

var includeAllBurstAssets: Bool

A Boolean value that determines whether the fetch result includes all assets from burst photo sequences.

var includeHiddenAssets: Bool

A Boolean value that determines whether the fetch result includes assets marked as hidden.