给self.navigationItem.rightBarButtonItem设置字体颜色
1 NSDictionary *dic = [NSDictionary dictionaryWithObject:[UIColor redColor] forKey:NSForegroundColorAttributeName]; 2 [self.navigationItem.rightBarButtonItem setTitleTextAttributes:dic forState:UIControlStateNormal];
posted on 2017-03-20 10:35 codemaker313 阅读(168) 评论(0) 编辑 收藏 举报