---
title: livePhoto
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phcontenteditinginput/livephoto
---

# livePhoto

The unedited Live Photo content of the editing input.

## Declaration

```swift
var livePhoto: PHLivePhoto? { get }
```

## Discussion

Discussion To edit the video and photo content of the Live Photo, create a PHLivePhotoEditingContext object using this PHContentEditingInput object. If the editing input does not represent a Live Photo, this property’s value is nil, indicating that you cannot use this PHContentEditingInput object to create a Live Photo editing context.

## See Also

### Working with Live Photo Assets

- [playbackStyle](photos/phcontenteditinginput/playbackstyle.md)
- [PHAsset.PlaybackStyle](photos/phasset/playbackstyle-swift.enum.md)
