<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHFetchOptions/includeAssetSourceTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHFetchOptions(py)includeAssetSourceTypes"
  },
  "title" : "includeAssetSourceTypes"
}
-->

# includeAssetSourceTypes

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

```
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`](/documentation/Photos/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).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)