issue #2800:Can not hide status bar on iOS 7

fixed #2800:User prefersStatusBarHidden in RootViewController on IOS 7 to hide status.
This commit is contained in:
Dhilan007 2013-09-13 15:54:58 +08:00
parent 368d668e7b
commit 5350b1ad06
8 changed files with 27 additions and 6 deletions

View File

@ -12,5 +12,5 @@
@interface RootViewController : UIViewController {
}
- (BOOL)prefersStatusBarHidden;
@end

View File

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

View File

@ -29,5 +29,5 @@
@interface RootViewController : UIViewController {
}
- (BOOL)prefersStatusBarHidden;
@end

View File

@ -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.

View File

@ -29,5 +29,5 @@
@interface RootViewController : UIViewController {
}
- (BOOL)prefersStatusBarHidden;
@end

View File

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

View File

@ -12,5 +12,5 @@
@interface RootViewController : UIViewController {
}
- (BOOL)prefersStatusBarHidden;
@end

View File

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