Status bar hided in camera view

This commit is contained in:
micaTewe 2015-10-18 11:30:42 +02:00 committed by Daniel Cousens
parent 2568e2168b
commit 2781b599ba

View File

@ -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];