ScanViewController
public class ScanViewController : UIViewControllerextension ScanViewController: UIAdaptivePresentationControllerDelegateA view controller used to present the capture view for an ID scan session.
Discussion: This UIViewController is intended to be used when a scan is started. The controller can be presented in many ways, it can be used as a child view controller while presenting the with other views within the parent controller hierarchy or presented from a parent view controller to give a full screen capture experience
Example Usage:
class SomeController: UIViewController {
...
private let documentScanHandler: DSHandler!
func viewDidLoad() {
   super.viewDidLoad()
   documentScanHandler = DSHandler(delegate: self)
}
func doScan() {
   let options = DSID1Options()
   options.side = .Back
   options.detectFace = false
   documentScanHandler?.options = options
   self.present(documentScanHandler.scanController, animated: true)
   documentScanHandler?.start()
}
...
}
extension: DSHandlerDelegate {
   func handleScan(result: DSResult) {
           //do something with result
   }
}
- 
                  
                  Undocumented DeclarationSwift public override func viewDidLoad()
- 
                  
                  Undocumented DeclarationSwift public override func viewDidAppear(_ animated: Bool)
- 
                  
                  Undocumented DeclarationSwift public override func viewDidLayoutSubviews()
- 
                  
                  Undocumented DeclarationSwift public override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
- 
                  
                  Undocumented DeclarationSwift public func presentationControllerWillDismiss(_ presentationController: UIPresentationController)
 ScanViewController Class Reference
        ScanViewController Class Reference