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.