Instance Method

documentCameraViewController(_:didFinishWith:)

Tells the delegate that the user successfully saved a scanned document from the document camera.

Declaration

optional func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFinishWith scan: VNDocumentCameraScan)

Parameters

controller

The document camera view controller that captured the scan.

scan

The scanned document that the camera detected.

See Also

Determining Scan Results

func documentCameraViewControllerDidCancel(VNDocumentCameraViewController)

Tells the delegate that the user canceled out of the document scanner camera.

func documentCameraViewController(VNDocumentCameraViewController, didFailWithError: Error)

Tells the delegate that document scanning failed while the camera view controller was active.