CodeScanner icon indicating copy to clipboard operation
CodeScanner copied to clipboard

can't hidden status bar in scan view

Open rhybroy opened this issue 4 years ago • 0 comments

when call an CodeScannerView and set StatusBar to hidden, it won't work. the StatusBar still showed. hot to fix?

//swiftui test struct view
var body: some View {
        CodeScannerView(codeTypes: [.qr], manualSelect: true, showViewfinder: false) { response in
            if case let .success(result) = response {
                print(result.string)
            }
        }.edgesIgnoringSafeArea(.all)
            .statusBar(hidden: true)
}

rhybroy avatar Oct 25 '22 05:10 rhybroy