---
title: includeAssetSourceTypes
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phfetchoptions/includeassetsourcetypes
---

# includeAssetSourceTypes

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

## Declaration

```swift
var includeAssetSourceTypes: PHAssetSourceType { get set }
```

## Discussion

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

- [fetchLimit](photos/phfetchoptions/fetchlimit.md)
- [includeAllBurstAssets](photos/phfetchoptions/includeallburstassets.md)
- [includeHiddenAssets](photos/phfetchoptions/includehiddenassets.md)
