Contents

cgImageRepresentation()

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

Declaration

func cgImageRepresentation() -> CGImage?

Return Value

A Core Graphics image representation of the captured photo, or nil if the image cannot be converted.

See Also

Packaging data for file output