---
title: preservesLivePhotoCaptureSuspendedOnSessionStop
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotooutput/preserveslivephotocapturesuspendedonsessionstop
---

# preservesLivePhotoCaptureSuspendedOnSessionStop

A Boolean value that indicates whether to preserve the suspended state of Live Photo capture when the session stops.

## Declaration

```swift
var preservesLivePhotoCaptureSuspendedOnSessionStop: Bool { get set }
```

## Discussion

Discussion This value defaults to false, which means that Live Photo capture resumes when the session stops. Set the value to true to save the state of the isLivePhotoCaptureSuspended property across session restarts.

## See Also

### Configuring Live Photo capture

- [isLivePhotoCaptureSupported](avfoundation/avcapturephotooutput/islivephotocapturesupported.md)
- [isLivePhotoCaptureEnabled](avfoundation/avcapturephotooutput/islivephotocaptureenabled.md)
- [isLivePhotoCaptureSuspended](avfoundation/avcapturephotooutput/islivephotocapturesuspended.md)
- [isLivePhotoAutoTrimmingEnabled](avfoundation/avcapturephotooutput/islivephotoautotrimmingenabled.md)
- [availableLivePhotoVideoCodecTypes](avfoundation/avcapturephotooutput/availablelivephotovideocodectypes.md)
