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 {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -51,6 +51,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -69,8 +69,11 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -68,6 +68,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -12,5 +12,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -51,6 +51,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -51,6 +51,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -51,6 +51,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -51,6 +51,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -51,6 +51,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -51,6 +51,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -68,6 +68,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -68,6 +68,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -44,6 +44,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
@interface RootViewController : UIViewController {
|
@interface RootViewController : UIViewController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
- (BOOL)prefersStatusBarHidden;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -68,6 +68,12 @@
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fix not hide status on ios7
|
||||||
|
- (BOOL)prefersStatusBarHidden
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
- (void)didReceiveMemoryWarning {
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|
Loading…
Reference in New Issue