self.navigationController.navigationBar.barTintColor = [UIColor blueColor];
// // 导航栏背景
// [self.navigationController.navigationBar setBackgroundImage:[UIImage p_w_picpathNamed:@"navigationImage_2.png"] forBarMetrics:UIBarMetricsDefault];
//
// self.navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
// // 导航栏透明
// [self.navigationController.navigationBar setBackgroundImage:[UIImage p_w_picpathNamed:@"talk_icon_03.png"] forBarMetrics:UIBarMetricsCompact];
// // 设置样式,不加这句话会有横线
// self.navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
// 修改title字体颜色
[self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor blackColor]}];
self.navigationController.navigationBar.barTintColor = HexRGB(0X62ccca);
// 修改返回箭头颜色样式
UIImage *backButtonImage = [[UIImage p_w_picpathNamed:@"talk_icon_03.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 30, 0, 0)];
[[UIBarButtonItem appearance] setBackButtonBackgroundImage:backButtonImage forState:UIControlStateNormal barMetrics:UIBarMetricsDefault];
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。