Contents

documentCameraViewController(_:didFailWithError:)

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

Declaration

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

Parameters

  • controller:

    The document camera view controller that failed.

  • error:

    The error containing the reason for failure.

See Also

Determining scan results