CaptureResult

Represents capture completion result provided via CaptureNavigationControllerDelegate method.

Public Properties

  • Returns captured images as a data in JPEG format. If no images were captured, an empty array will be returned. The provided data can be displayed as an image using UIImage(data: Data), or stored in a file using Data.write(to: URL, options: Data.WritingOptions). You can also use Data.metadata and Data.getLocation() to retrieve an EXIF data available in the image.

  • Returns true if the result contains no images (e.g. user cancelled the capture)