iOS6之后有了新的方法可以直接设置title的字体和颜色,其实只要把需要
[self.navigationController.navigationBar setTitleTextAttributes:[NSDictionarydictionaryWithObjectsAndKeys: [UIColorredColor],NSForegroundColorAttributeName, [UIFontsystemFontOfSize:15],NSFontAttributeName,nil]];
//或者使用下面形式:
[self.navigationController.navigationBar setTitleTextAttributes:@{
NSForegroundColorAttributeName:[UIColo redColor],
NSFontAttributeName: [UIFontsystemFontOfSize:15]
}];