Skip to content

How to change UIColors #345

@manutic

Description

@manutic

Dear all !

Thanks for your great plugin, it suits my needs but I'd like to change the colors of the green box and red line.
So I changed the values in the CDVBarcodeScanner.mm file as follow but nothing has changed after a rebuild :
`
/
/-------------------------------------------------------------------------
// builds the green box and red line
//-------------------------------------------------------------------------

  • (UIImage*)buildReticleImage {
    ...

    if (self.processor.is1D) {
    UIColor* color = [UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:RETICLE_ALPHA];
    ...
    }

    if (self.processor.is2D) {
    UIColor* color = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:RETICLE_ALPHA];
    ...
    `
    So what can I do to change this colors ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions