diff --git a/template/multi-platform-cpp/proj.ios/RootViewController.mm b/template/multi-platform-cpp/proj.ios/RootViewController.mm index a42e6cfacd..906aeaf082 100644 --- a/template/multi-platform-cpp/proj.ios/RootViewController.mm +++ b/template/multi-platform-cpp/proj.ios/RootViewController.mm @@ -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];