Protocol

VNDocumentCameraViewControllerDelegate

A delegate protocol through which the document camera returns its scanned results.

Declaration

@protocol VNDocumentCameraViewControllerDelegate

Overview

Your app is responsible for dismissing the document camera in all delegate callback methods.

Topics

Determining Scan Results

- documentCameraViewController:didFinishWithScan:

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

- documentCameraViewControllerDidCancel:

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

- documentCameraViewController:didFailWithError:

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

Relationships

Inherits From

See Also

Document Scanning

VNDocumentCameraViewController

A view controller that shows what the document camera sees.

VNDocumentCameraScan

A single document scanned in the document camera.