Instance Method

documentCameraViewControllerDidCancel(_:)

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

Declaration

optional func documentCameraViewControllerDidCancel(_ controller: VNDocumentCameraViewController)

Parameters

controller

The document camera view controller in which the user canceled.

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 documentCameraViewController(VNDocumentCameraViewController, didFailWithError: Error)

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