---
title: PHAssetResourceManager
framework: photos
role: symbol
role_heading: Class
path: photos/phassetresourcemanager
---

# PHAssetResourceManager

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

## Declaration

```swift
class PHAssetResourceManager
```

## Overview

Overview An asset can have multiple underlying data resources—for example, both original and edited versions—each of which is represented by a PHAssetResource object. Unlike the 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()](photos/phassetresourcemanager/default().md)

### Requesting Resources

- [requestData(for:options:dataReceivedHandler:completionHandler:)](photos/phassetresourcemanager/requestdata(for:options:datareceivedhandler:completionhandler:).md)
- [cancelDataRequest(_:)](photos/phassetresourcemanager/canceldatarequest(_:).md)
- [writeData(for:toFile:options:completionHandler:)](photos/phassetresourcemanager/writedata(for:tofile:options:completionhandler:).md)

### Constants

- [PHAssetResourceDataRequestID](photos/phassetresourcedatarequestid.md)
- [Resource Loading Request Identifiers](photokit/resource-loading-request-identifiers.md)

### Instance Methods

- [exportedAssetID(for:)](photos/phassetresourcemanager/exportedassetid(for:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Asset resource management

- [PHAssetResource](photos/phassetresource.md)
- [PHAssetCreationRequest](photos/phassetcreationrequest.md)
- [PHAssetResourceCreationOptions](photos/phassetresourcecreationoptions.md)
- [PHAssetResourceRequestOptions](photos/phassetresourcerequestoptions.md)
