您的位置:首页 > 其它

如果有navigation bar, 在navigation bar 添加一个view来设置颜色

2016-05-12 16:49 190 查看
// status bar color

UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, -20, ScreenWidth, 20)];

[view setBackgroundColor:COLOR_APP_MAIN];




[viewController.navigationController.navigationBar addSubview:view];
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: