标签:style blog io color ar sp for div on
tabbar(非自定义) 文字的颜色
[NSDictionary dictionaryWithObjectsAndKeys: [UIColor redColor], UITextAttributeTextColor, [UIFont fontWithName:@"Arial" size:0.0], UITextAttributeFont, nil] forState:UIControlStateSelected]; [[UITabBarItem appearance] setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys: [UIColor blackColor], UITextAttributeTextColor, [UIFont fontWithName:@"Arial" size:0.0], UITextAttributeFont, nil] forState:UIControlStateNormal];
渲染颜色
self.tabBar.selectedImageTintColor = [UIColor yellowColor]; self.tabBar.tintColor = [UIColor yellowColor];
self.tabBar.barTintColor = YWGlobalBG; //tabbar背景颜色
标签:style blog io color ar sp for div on
原文地址:http://www.cnblogs.com/dqxu/p/4095416.html