修改self.title标题颜色字号等

self.title = @"改变标题字体颜色";

       NSDictionary *dic = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[UIColor blueColor], [UIFont systemFontOfSize:20 weight:20], nil] forKeys:[NSArray arrayWithObjects:NSForegroundColorAttributeName, NSFontAttributeName, nil]];

    self.navigationController.navigationBar.titleTextAttributes = dic;

posted @ 2015-09-17 13:11  west3214  阅读(919)  评论(0编辑  收藏  举报