CodeScanner icon indicating copy to clipboard operation
CodeScanner copied to clipboard

The torch flashes once briefly before lighting up continuously.

Open s33k2k22 opened this issue 3 years ago • 0 comments

Hello all, first of all thanks for this great code!

I just have a little problem with the isTorchOn Option.

CodeScannerView(codeTypes: [.qr], showViewfinder: true, isTorchOn: true)

For me, the torch flashes once briefly before lighting up continuously. Is this a bug? Is there a way to create a button on the view to turn the torch on or off when scanning the QR code?

thanks a lot!

s33k2k22 avatar Jun 27 '22 05:06 s33k2k22