标签:style blog http io ar color sp for on
效果图:
代码:
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.title=@"I love you"; //改变导航条标题的颜色为红色 [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor redColor]}]; }
标签:style blog http io ar color sp for on
原文地址:http://www.cnblogs.com/yang-guang-girl/p/4137236.html