twostraws / CodeScanner

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

How can i change location of gallery button ? #91

Closed sametkarakurt closed 1 year ago

sametkarakurt commented 1 year ago

CodeScannerView(codeTypes: [.qr],manualSelect: true,showViewfinder:true, completion: handleScan) I added manual select but gallery button overflow to navbar. I want to change location of gallery button. How can ı do it?

nathanfallet commented 1 year ago

You can create a custom view, make your own button, and toggle the gallery on demand as done here: https://github.com/NathanFallet/BdeEnsisaMobile/blob/main/iosApp/iosApp/Features/Scanner/ScannerView.swift