isLivePhotoCaptureSupported
A Boolean value that indicates whether the capture output currently supports Live Photo capture.
Declaration
var isLivePhotoCaptureSupported: Bool { get }Discussion
Live Photo captures both a still image and a short movie centered on the moment of capture, and the system presents them together in user interfaces such as the Photos app.
Not all devices and capture formats support Live Photo capture. This property’s value can change if the sessionPreset property of the current capture session or the activeFormat property of the underlying capture device changes.
When this value changes to false, the isLivePhotoCaptureEnabled property’s value also changes to false. If you previously opted in for Live Photo capture and then change configurations, you may need to set isLivePhotoCaptureEnabled to true again.