UIView*statusBarView=[[UIViewalloc]initWithFrame:CGRectMake(0,0, kScreenWidth,20)];
statusBarView.backgroundColor= [UIColorwhiteColor];
[self.viewaddSubview:statusBarView];
[[UIApplicationsharedApplication]setStatusBarStyle:UIStatusBarStyleDefaultanimated:NO];
网友评论