From 2781b599ba4ac6dba86c3edaa0df474a68628ced Mon Sep 17 00:00:00 2001 From: micaTewe Date: Sun, 18 Oct 2015 11:30:42 +0200 Subject: [PATCH] Status bar hided in camera view --- ios/AlmaZBarReaderViewController.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ios/AlmaZBarReaderViewController.m b/ios/AlmaZBarReaderViewController.m index 8d33e22..c126506 100644 --- a/ios/AlmaZBarReaderViewController.m +++ b/ios/AlmaZBarReaderViewController.m @@ -40,9 +40,7 @@ button.clipsToBounds = YES; // Set a new (x,y) point for the button's center - UIImage *btnImage = [UIImage imageNamed:@"flash.png"]; - - [button setImage:btnImage forState:UIControlStateNormal]; + //[button setBackgroundColor:[UIColor colorWithRed:.859 green:.765 blue:.616 alpha:1.0] forState:UIControlStateHighlighted]; @@ -52,6 +50,9 @@ [self.view addSubview:button]; } +- (BOOL)prefersStatusBarHidden { + return YES; +} - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning];