Coordinator
class Coordinator : NSObject, VNDocumentCameraViewControllerDelegate
-
Handle the completion of the scan
Declaration
Swift
public func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFinishWith scan: VNDocumentCameraScan)
-
Handle the cancellation of the scan
Declaration
Swift
public func documentCameraViewControllerDidCancel(_ controller: VNDocumentCameraViewController)
-
Handle errors during the scan process
Declaration
Swift
public func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFailWithError error: Error)