iOS default drawSight = true
iOS default drawSight = true
This commit is contained in:
parent
6ae4faaf3a
commit
354eb7e85a
@ -64,7 +64,7 @@
|
|||||||
//UIView *infoButton = [[[[[self.scanReader.view.subviews objectAtIndex:1] subviews] objectAtIndex:0] subviews] objectAtIndex:3];
|
//UIView *infoButton = [[[[[self.scanReader.view.subviews objectAtIndex:1] subviews] objectAtIndex:0] subviews] objectAtIndex:3];
|
||||||
//[infoButton setHidden:YES];
|
//[infoButton setHidden:YES];
|
||||||
|
|
||||||
BOOL drawSight = [[params objectForKey:@"drawSight"] boolValue];
|
BOOL drawSight = [params objectForKey:@"drawSight"] ? [[params objectForKey:@"drawSight"] boolValue] : true;
|
||||||
if(drawSight){
|
if(drawSight){
|
||||||
CGRect screenRect = [[UIScreen mainScreen] bounds];
|
CGRect screenRect = [[UIScreen mainScreen] bounds];
|
||||||
CGFloat screenWidth = screenRect.size.width;
|
CGFloat screenWidth = screenRect.size.width;
|
||||||
|
Loading…
Reference in New Issue
Block a user