标签:
//设置返回按钮的颜色。 self.navigationBar.tintColor = [UIColor whiteColor]; //设置title属性 UINavigationBar *appearance=[UINavigationBar appearance]; NSMutableDictionary *textAttrs = [NSMutableDictionary dictionary]; textAttrs[UITextAttributeTextColor] = [UIColor whiteColor]; textAttrs[UITextAttributeFont] = [UIFont boldSystemFontOfSize:18]; textAttrs[UITextAttributeTextShadowOffset] = [NSValue valueWithUIOffset:UIOffsetZero]; [appearance setTitleTextAttributes:textAttrs];
NavigationController title颜色修改
标签:
原文地址:http://www.cnblogs.com/mlgbya/p/4290420.html