<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHAssetResource/assetResources(for:)-27o4l",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHAssetResource(cm)assetResourcesForAsset:"
  },
  "title" : "assetResources(for:)"
}
-->

# assetResources(for:)

Returns the list of data resources associated with an asset.

```
class func assetResources(for asset: PHAsset) -> [PHAssetResource]
```

## Parameters

`asset`

A photo or video asset in the Photos library.

## Return Value

The asset’s resources.

## Discussion

Asset resource objects describe the data files that an asset represents. An asset can contain multiple resources—for example, an edited photo asset contains resources for both the original and edited images, as well as for the [`PHAdjustmentData`](/documentation/Photos/PHAdjustmentData) object describing the edit. To work with one of these files, fetch the underlying data using the [`PHAssetResourceManager`](/documentation/Photos/PHAssetResourceManager) class.

---

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)