I'm creating an app that has a live scan feature. I added the following code to present the view controller that shows what the document camera sees when a button is clicked
let documentCameraViewController = VNDocumentCameraViewController()
documentCameraViewController.delegate = self
present(documentCameraViewController, animated: true)
It is working, but the only issue is the auto shutter is by default set to ON, and it keeps taking scans until I click save. I can manually set the auto shutter to Off, but I don't want that. I want that the auto shutter for the first scan to be on, and then it doesn't keep taking any more photos automatically (the auto shutter switches to off). Is there any way I could do that? if not, how can I set the default auto shutter to off?
Thank you!