Contents

previewCGImageRepresentation()

Extracts and returns the captured photo’s preview image as a Core Graphics image object.

Declaration

func previewCGImageRepresentation() -> CGImage?

Return Value

A Core Graphics image representation of the captured photo, or nil if either the image cannot be converted or a preview image was not requested as part of the photo capture.

See Also

Packaging data for file output