A view controller that shows what the document camera sees.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
Framework
- Vision
Kit
Declaration
class VNDocumentCameraViewController : UIView Controller
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)