Instance Property


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


weak var delegate: VNDocumentCameraViewControllerDelegate? { get set }


The delegate receives one of the following three calls:

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

See Also

Supporting the Document Camera

class var isSupported: Bool

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


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