We just added VNDocumentCameraViewControllerMBS class for use with Xojo in iOS target to scan documents right with the camera and getting them as picture:
Just create an object of type VNDocumentCameraViewControllerMBS when needed and call Present method. In the events you get told whether user cancelled, scanned a new pictures or got an error. Use VNDocumentCameraScanMBS class to retrieve the results.
Included later in 22.5pr4 plugin version. See ContinuityCameraMBS for use of iOS camera for MacOS.