摘要:
------------------ios7基于viewController隐藏状态条:通过ViewController重载方法返回枚举值的方法来控制状态栏的隐藏和样式。首先,需要在Info.plist配置文件中,增加键:UIViewControllerBasedStatusBarAppearance,并设置为YES;然后,在UIViewController子类中实现以下两个方法:- (UIStatusBarStyle)preferredStatusBarStyle{ return UIStatusBarStyleLightContent;}- (BOOL)prefersStatusBa... 阅读全文
posted @ 2013-08-29 10:59
小鼬就是我
阅读(6758)
评论(0)
推荐(0)
浙公网安备 33010602011771号