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 show not properly #8

Open
olegek opened this issue Mar 1, 2019 · 1 comment
Open

BarCode show not properly #8

olegek opened this issue Mar 1, 2019 · 1 comment

Comments

@olegek
Copy link

olegek commented Mar 1, 2019

Add BarCodeView and generate code, after push screen it showing not all, and some yellow line

@AlexTsyganov
Copy link

@olegek the yellow line could be removed by setting bgColor which has 3 components (RGB). For example, barcodeView.bgColor = .init(red: 254, green: 254, blue: 254)

let barcodeView = BarCodeView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
barcodeView.barCode = self
barcodeView.bgColor = .init(red: 254, green: 254, blue: 254)
barcodeView.drawableColor = .black
barcodeView.shouldShowNumbers = true

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

2 participants