//设置导航栏字体大小颜色
[self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:
[UIColor colorWithRed:44.0f/255.0f green:141.0f/255.0f blue:228.0f/255.0f alpha:1.0],
NSForegroundColorAttributeName, [UIFont systemFontOfSize:18*kViewWidth/320], NSFontAttributeName, nil]];
//设置导航栏背景色
self.navigationController.navigationBar.barTintColor =
[UIColor colorWithRed:230.0f/255.0f green:230.0f/255.0f blue:230.0f/255.0f alpha:1.0];
ios导航栏字体颜色及背景色设置rgb
最新推荐文章于 2023-01-30 11:00:20 发布