Instance Property

previewPixelBuffer

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

Declaration

var previewPixelBuffer: CVPixelBuffer? { get }

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

var embeddedThumbnailPhotoFormat: [String : Any]?

A dictionary describing the data format for a preview-sized image accompanying the captured photo.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software