Skip to content

Unreliable torch #85

@nitricware

Description

@nitricware

Tested on an iPhone 11 Pro running iOS 16;

With isTorchOn set to true the torch can show three behaviours - none of which is reliable:

  1. The torch will not light up
  2. The torch will light up for a brief moment and then be off again.
  3. The torch will not go out when the View is dismissed.

The View is presented in a Sheet:

.sheet(isPresented: $isShowingScanner) {
    CodeScannerView(
        codeTypes: [.code39],
        simulatedData: "04 ASO SCANTEST123",
        isTorchOn: true,
        completion: handleScan)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions