twostraws / CodeScanner

A SwiftUI view that is able to scan barcodes, QR codes, and more, and send back what was found.
MIT License
987 stars 272 forks source link

Allow to reset scanner #115

Closed cleanbit closed 3 weeks ago

cleanbit commented 10 months ago

Useful if scanner mode is set to .once, but needs scanner again (e.g. alert with an error was shown).

nathanfallet commented 4 months ago

It's a nice feature to have, but are you able to find a better way to do it without using a Binding?

cleanbit commented 2 months ago

Well, I knew that I forgot somewhere to reply...anyway, nope, I wasn't able to find a better way to do that.

Almost a year later, this hack still works :)