mirror of https://github.com/axmolengine/axmol.git
Merge pull request #3590 from Dhilan007/develop
issue #2800:Can not hide status bar on iOS 7
This commit is contained in:
commit
9c259823e1
|
@ -12,5 +12,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -51,6 +51,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -69,8 +69,11 @@
|
|||
return YES;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//fix not hide status on ios7
|
||||
- (BOOL)prefersStatusBarHidden
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
// Releases the view if it doesn't have a superview.
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -68,6 +68,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];
|
||||
|
|
|
@ -12,5 +12,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -51,6 +51,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -51,6 +51,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -51,6 +51,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -51,6 +51,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -51,6 +51,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -51,6 +51,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -68,6 +68,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -68,6 +68,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -44,6 +44,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];
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
@interface RootViewController : UIViewController {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden;
|
||||
@end
|
||||
|
|
|
@ -68,6 +68,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