Framework

VisionKit

Use the iOS camera to scan documents like those you capture in the Notes app.

Overview

VisionKit is a small framework that lets your app use the system's document scanner. Present the document camera as a view controller, which covers the entire screen like the camera function in Notes. Implement the VNDocumentCameraViewControllerDelegate in your own view controller to receive callbacks from the document camera, such as completed scans.

Topics

Document Scanning

class VNDocumentCameraViewController

A view controller that shows what the document camera sees.

protocol VNDocumentCameraViewControllerDelegate

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

class VNDocumentCameraScan

A single document scanned in the document camera.