EAN13BarcodeGenerator
EAN13BarcodeGenerator copied to clipboard
BarCode show not properly
Add BarCodeView and generate code, after push screen it showing not all, and some yellow line
@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