<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHAssetChangeRequest/revertAssetContent(to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHAssetChangeRequest(im)revertAssetContentToOriginalResourceChoice:"
  },
  "title" : "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.

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

## Parameters

`choice`

The original resource to use as the unadjusted base after reverting.

## Discussion

In addition to reverting all adjustments, this selects either the RAW
([`PHAsset.OriginalResourceChoice.raw`](/documentation/Photos/PHAsset/OriginalResourceChoice-swift.enum/raw)) or the compressed
([`PHAsset.OriginalResourceChoice.compressed`](/documentation/Photos/PHAsset/OriginalResourceChoice-swift.enum/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.

---

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)