设置导航栏字体大小,颜色和加粗字体的方法

 [self.navigationController.navigationBar setTitleTextAttributes:
     
  @{NSFontAttributeName:[UIFont boldSystemFontOfSize:20.0f],// 红色区域为字体加粗方法
   
    NSForegroundColorAttributeName:[UIColor blackColor]}];

posted @ 2016-05-14 11:46  雷坤  阅读(2299)  评论(0编辑  收藏  举报