iOS 暴力更改状态栏背景颜色

UIView *statusBar = [[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"] valueForKey:@"statusBar"];
statusBar.backgroundColor = [UIColor whiteColor];
posted @ 2018-05-10 17:58  WinJayQ  阅读(180)  评论(0编辑  收藏  举报