Instance Property

livePhotoCaptureSuspended

A Boolean value that specifies whether to suspend, but not disable, Live Photo capture.

Declaration

@property(nonatomic, getter=isLivePhotoCaptureSuspended) BOOL livePhotoCaptureSuspended;

Discussion

Use this property to cut short any current Live Photo movie captures in progress—for example, if you suddenly need to do something that you don't want to show up in the Live Photo movie, such as a still photo capture that makes a shutter sound.

By default, this property’s value is NO. When you change the value to YES, any Live Photo captures in progress are trimmed to the current time. Likewise, when you change this property’s value from YES to NO, subsequent Live Photo movie captures will not contain any samples earlier than the time you un-suspended Live Photo capture.

Setting this property to YES throws an exception (NSInvalidArgumentException) if the livePhotoCaptureEnabled property’s value is NO.

See Also

Configuring Live Photo Capture

livePhotoCaptureSupported

A Boolean value indicating whether the capture output currently supports Live Photo capture.

livePhotoCaptureEnabled

A Boolean value that specifies whether to configure the capture pipeline for Live Photo capture.

livePhotoAutoTrimmingEnabled

A Boolean value that specifies whether to automatically trim Live Photo movie captures to avoid excessive movement.

availableLivePhotoVideoCodecTypes

The list of video codecs currently available for capturing Live Photos with the photo output.