修改导航栏标题字体和颜色
1.当然,如果我们需要不一样的按钮和标题, 我们还是比较乐意自己自定义一个导航栏, 用起来还是比较方便和使用的.
2.如果我们只是想修改一下标题的颜色和字体.那么最简单的方法就是使用字体的富文本编辑.
[self.navigationController.navigationBar setTitleTextAttributes:
@{NSFontAttributeName:[UIFont boldSystemFontOfSize:19],
NSForegroundColorAttributeName:[UIColor whiteColor]}];
这样就搞定了.