Contents

previewPixelBuffer

The pixel data for a preview-sized version of the photo, if requested.

Declaration

var previewPixelBuffer: CVPixelBuffer? { get }

Mentioned in

Discussion

If you requested a preview image by specifying the previewPhotoFormat property of your photo settings when requesting capture, this property offers access to the resulting preview image pixel data. The pixel buffer contains only the minimal attachments required for correct display. If you did not request a preview image, this property’s value is nil.

See Also

Accessing preview photo data