Use front camera for data scanner

I'm using DataScannerViewController with SwiftUI to scan text and barcodes from a card. I would like the user to be able to hold the card in front of the device, but I am not finding a way to select the front camera with DataScannerViewController.

Does anyone know of a way to select the front camera?

Use front camera for data scanner
 
 
Q