Status bar hided in camera view
This commit is contained in:
parent
2568e2168b
commit
2781b599ba
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user