CodeScanner
CodeScanner copied to clipboard
Front camera option
I would like to use the codescanner on my iPad and use the front facing camera. Can you please add the option to select the front facing camera.
Thanks!!
I think a recent update means you can already do this with the videoCaptureDevice parameter:
videoCaptureDevice: AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front),
I think this gives you what you need? Hope this helps.
This worked for me. Thanks.
Checked, it as been added as a parameter in the initializer.