---
title: "revertAssetContent(to:)"
framework: Photos
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "photos/phassetchangerequest/revertassetcontent(to:)"
---

# revertAssetContent(to:)

Reverts the asset’s content to its original, choosing which original resource to use as the unadjusted base for all renders.

## Declaration

```swift
func revertAssetContent(to choice: PHAsset.OriginalResourceChoice)
```

## Parameters

- `choice`: The original resource to use as the unadjusted base after reverting.

## Discussion

Discussion In addition to reverting all adjustments, this selects either the RAW (PHAsset.OriginalResourceChoice.raw) or the compressed (PHAsset.OriginalResourceChoice.compressed) resource as the source for all renders. This applies to RAW+JPEG assets only. Using this with other types of assets is not supported.

## See Also

### Editing Asset Content

- [contentEditingOutput](photos/phassetchangerequest/contenteditingoutput.md)
- [revertAssetContentToOriginal()](photos/phassetchangerequest/revertassetcontenttooriginal().md)
