Instance Method

documentCameraViewController(_:didFailWithError:)

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

Declaration

optional func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFailWithError error: Error)

Parameters

controller

The document camera view controller that failed.

error

The error containing the reason for failure.

See Also

Determining Scan Results

func documentCameraViewController(VNDocumentCameraViewController, didFinishWith: VNDocumentCameraScan)

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

func documentCameraViewControllerDidCancel(VNDocumentCameraViewController)

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