---
title: "init(contentEditingInput:)"
framework: photos
role: symbol
role_heading: Initializer
path: "photos/phcontenteditingoutput/init(contenteditinginput:)"
---

# init(contentEditingInput:)

Creates an editing output from the specified editing input.

## Declaration

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

## Parameters

- `contentEditingInput`: An object providing information about the asset to be edited.

## Return Value

Return Value An initialized content editing output.

## Discussion

Discussion To complete the edit, use the renderedContentURL property to provide the edited asset content. Then, use the PHAssetChangeRequest class or PHContentEditingController protocol to commit the edit to storage.
