Class

VNDocumentCameraViewController

A view controller that shows what the document camera sees.

Declaration

class VNDocumentCameraViewController : UIViewController

Overview

Present this view controller, as follows, and add it to your view controller hierarchy to scan documents.

let documentCameraViewController = VNDocumentCameraViewController()
documentCameraViewController.delegate = self
present(documentCameraViewController, animated: true)

Topics

Supporting the Document Camera

var delegate: VNDocumentCameraViewControllerDelegate?

The delegate to be notified when the user saves or cancels the document scanner.

class var isSupported: Bool

A Boolean variable that indicates whether or not the current device supports document scanning.

See Also

Document Scanning

protocol VNDocumentCameraViewControllerDelegate

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

Beta
class VNDocumentCameraScan

A single document scanned in the document camera.

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