<!--
{
  "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/PHAssetResourceManager",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHAssetResourceManager"
  },
  "title" : "PHAssetResourceManager"
}
-->

# PHAssetResourceManager

A resource manager for the data storage underlying a Photos asset.

```
class PHAssetResourceManager
```

## Overview

An asset can have multiple underlying data resources—for example, both original and edited versions—each of which is represented by a [`PHAssetResource`](/documentation/Photos/PHAssetResource) object. Unlike the [`PHImageManager`](/documentation/Photos/PHImageManager) class, which provides and caches the primary representations of assets as thumbnails, image objects, or video objects, the asset resource manager provides direct access to these underlying data resources.

## Topics

### Getting the Asset Resource Manager

[`default()`](/documentation/Photos/PHAssetResourceManager/default())

Returns the shared asset resource manager object.

### Requesting Resources

[`requestData(for:options:dataReceivedHandler:completionHandler:)`](/documentation/Photos/PHAssetResourceManager/requestData(for:options:dataReceivedHandler:completionHandler:))

Requests the underlying data for the specified asset resource, to be delivered asynchronously.

[`cancelDataRequest(_:)`](/documentation/Photos/PHAssetResourceManager/cancelDataRequest(_:))

Cancels an asynchronous request.

[`writeData(for:toFile:options:completionHandler:)`](/documentation/Photos/PHAssetResourceManager/writeData(for:toFile:options:completionHandler:))

Requests the underlying data for the specified asset resource, to be asynchronously written to a local file.

### Constants

[`PHAssetResourceDataRequestID`](/documentation/Photos/PHAssetResourceDataRequestID)

A numeric identifier for an asynchronous asset resource loading request.

  <doc://com.apple.photokit/documentation/PhotoKit/resource-loading-request-identifiers>



---

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)