OC自定义导航栏背景色和字体颜色
//导航栏
[self.navigationController.navigationBar setBarTintColor:UIColorFromRGB(0xff542E)];
[self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor whiteColor],UITextAttributeTextColor,nil]];
posted on 2018-09-05 16:10 yucaijiang 阅读(689) 评论(0) 编辑 收藏 举报