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

Crashing app when i try to use scan #229

Open
sauryatechnologies opened this issue Dec 18, 2020 · 0 comments
Open

Crashing app when i try to use scan #229

sauryatechnologies opened this issue Dec 18, 2020 · 0 comments

Comments

@sauryatechnologies
Copy link

sauryatechnologies commented Dec 18, 2020

i have tried several time to solve crashing issue, but not get success..
app crash in LBXScanView.m file, inside -(void) drawScanRect function on below code line at component[0]; getting null

const CGFloat *components = CGColorGetComponents(_viewStyle.notRecoginitonArea.CGColor);
CGFloat red_notRecoginitonArea = components[0]; // crash here
CGFloat green_notRecoginitonArea = components[1];
CGFloat blue_notRecoginitonArea = components[2];
CGFloat alpa_notRecoginitonArea = components[3];

all components having null value: thats why i think crashing

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