mirror of https://github.com/axmolengine/axmol.git
Merge pull request #3587 from Dhilan007/develop
Fix not hide status on ios7
This commit is contained in:
commit
d74adcf5e4
|
@ -4,5 +4,6 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
- (BOOL) prefersStatusBarHidden;
|
||||
|
||||
@end
|
||||
|
|
|
@ -43,6 +43,12 @@
|
|||
return YES;
|
||||
}
|
||||
|
||||
//fix not hide status on ios7
|
||||
- (BOOL)prefersStatusBarHidden
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
// Releases the view if it doesn't have a superview.
|
||||
[super didReceiveMemoryWarning];
|
||||
|
|
Loading…
Reference in New Issue