Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barcode not detected #97

Open
Lukaz32 opened this issue Jul 27, 2017 · 0 comments
Open

Barcode not detected #97

Lukaz32 opened this issue Jul 27, 2017 · 0 comments

Comments

@Lukaz32
Copy link

Lukaz32 commented Jul 27, 2017

I'm trying to read the following barcode
barcode

but it's just never detected.
I've set my output in my RSCodeReaderViewController subclass to consider every type available like so

output.metadataObjectTypes = NSArray(array: output.availableMetadataObjectTypes) as [AnyObject]

and have my callback closure like so:

self.barcodesHandler = { [weak self] barcodes in
            guard let barcode = barcodes.first else { return }
            self?.delegate?.detectedBarcode(barcode: BarcodeNumber(undefinedCode: barcode.stringValue))
        }

Am I missing something or that type of barcode is not supported?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant