标题自定义样式:
NSDictionary *titleAttriDic = [NSDictionary dictionaryWithObject:[UIColor whiteColor] forKey:NSForegroundColorAttributeName];
self.navigationController.navigationBar.titleTextAttributes = titleAttriDic;
self.navigationItem.title = @"我是标题";
导航栏底色:
self.navigationController.navigationBar.barTintColor = [UIColor redColor];
网友评论