李洪强iOS开发之-修改状态栏的字体的颜色
李洪强iOS开发之-修改状态栏的字体的颜色
修改的效果:
-(void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
[_magicController.view setFrame:CGRectMake(0, 0, CFScreenW, self.view.height-120)];
if ([UIApplication sharedApplication].statusBarStyle != UIStatusBarStyleLightContent){
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
}
}