---
title: isLivePhotoCaptureSuspended
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotooutput/islivephotocapturesuspended
---

# isLivePhotoCaptureSuspended

A Boolean value that indicates whether Live Photo capture is currently in a suspended state.

## Declaration

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

## Discussion

Discussion By default, this property’s value is false. Set this value to true to stop any current Live Photo movie captures in progress. Doing this prevents recording additional actions in the Live Photo movie. For example, if you want to capture a still photo that makes a shutter sound, you can prevent recording that action. When you change this value to true, the system trims any Live Photo movie captures in progress to the current time. Likewise, when you change this value from true to false, subsequent Live Photo movie captures won’t contain any earlier recordings. By default, this property resets to false when the AVCaptureSession stops. You can prevent this behavior by setting preservesLivePhotoCaptureSuspendedOnSessionStop to true before stopping the session. important: Setting this property to true throws an invalidArgumentException if the isLivePhotoCaptureEnabled property’s value is false.

## See Also

### Configuring Live Photo capture

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