Set Navigation Item Color for iOS 7

color

Source code:

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
 
    NSDictionary *navbarTittleTextAttributes = [NSDictionary dictionaryWithObjectsAndKeys:
                                                [UIColor blueColor ],NSForegroundColorAttributeName,
                                                [UIColor blackColor],NSBackgroundColorAttributeName,
                                                nil];
    self.navigationController.navigationBar.titleTextAttributes = navbarTittleTextAttributes;
 
}

原创文章,转载请注明: 转载自 obaby@mars

本文标题: 《Set Navigation Item Color for iOS 7》

本文链接地址: http://h4ck.org.cn/2014/09/set-navigation-item-color-for-ios-7/

You may also like

发表评论

电子邮件地址不会被公开。 必填项已用*标注