We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// Hack to hide the bottom bar's Info button... originally based on http://stackoverflow.com/a/16353530 NSInteger infoButtonIndex; if ([[[UIDevice currentDevice] systemVersion] compare:@"10.0" options:NSNumericSearch] != NSOrderedAscending) { infoButtonIndex = 1; } else { infoButtonIndex = 3; } UIView *infoButton = [[[[[self.scanReader.view.subviews objectAtIndex:2] subviews] objectAtIndex:0] subviews] objectAtIndex:infoButtonIndex]; [infoButton setHidden:YES];
The text was updated successfully, but these errors were encountered:
我也遇到了这个问题, 请问你解决了么
Sorry, something went wrong.
我是把上面那幾行給mark掉就可以了~
Comment this below code & then run,
UIView *infoButton = [[[[[self.scanReader.view.subviews objectAtIndex:2] subviews] objectAtIndex:0] subviews] objectAtIndex:infoButtonIndex]; [infoButton setHidden:YES];
No branches or pull requests
The text was updated successfully, but these errors were encountered: