要隐藏StatusBar, 在iOS7之前,只需要添加
[[UIApplication sharedApplication] setStatusBarHidden:YES];
现在需要在plist文件中添加键值
UIStatusBarHidden:YES
UIViewControllerBasedStatusBarAppearance:NO
要隐藏StatusBar, 在iOS7之前,只需要添加
[[UIApplication sharedApplication] setStatusBarHidden:YES];
现在需要在plist文件中添加键值
UIStatusBarHidden:YES
UIViewControllerBasedStatusBarAppearance:NO
http://www.cocoachina.com/bbs/read.php?tid=111489&keyword=%D0%C2%CC%D8%D0%