<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHContentEditingOutput/init(contentEditingInput:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHContentEditingOutput(im)initWithContentEditingInput:"
  },
  "title" : "init(contentEditingInput:)"
}
-->

# init(contentEditingInput:)

Creates an editing output from the specified editing input.

```
init(contentEditingInput: PHContentEditingInput)
```

## Parameters

`contentEditingInput`

An object providing information about the asset to be edited.

## Return Value

An initialized content editing output.

## Discussion

To complete the edit, use the [`renderedContentURL`](/documentation/Photos/PHContentEditingOutput/renderedContentURL) property to provide the edited asset content. Then, use the [`PHAssetChangeRequest`](/documentation/Photos/PHAssetChangeRequest) class or [`PHContentEditingController`](/documentation/PhotosUI/PHContentEditingController) protocol to commit the edit to storage.

---

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)