twostraws / CodeScanner

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

Unable to Set Frame for QRCode Scanner in CodeScanner SwiftUI Package #119

Open Muhammadbarznji opened 9 months ago

Muhammadbarznji commented 9 months ago

Issue: I am currently working with the CodeScanner SwiftUI package for QRCode scanning, and I'm facing difficulties in setting the frame for the scanner. Specifically, I want to configure the frame so that the scanner only captures QR codes within a specific area.

Description of the Problem: I have tried exploring the available documentation and code examples, but I couldn't find clear instructions on how to set the frame for the QRCode scanner within the CodeScanner package.

Expected Behavior: I expect to have the ability to define a specific frame for the camera to scan QR codes only within that designated area.