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.

Beta
func documentCameraViewController(VNDocumentCameraViewController, didFailWithError: Error)

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

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software