1.UIKIT 框架第 一个文件
2.使用方式
1)NSDictionary* attrDict =@{NSForegroundColorAttributeName:[UIColorwhiteColor]};NSAttributedString* attributedString = [[NSAttributedStringalloc]initWithString:self.placeholderattributes:attrDict];
[selfsetAttributedPlaceholder: attributedString];
2)
UITabBarItem* item = [UITabBarItemappearanceWhenContainedIn:self,nil];
//normal状态
NSDictionary* dict =@{NSFontAttributeName:[UIFontsystemFontOfSize:13]};
[itemsetTitleTextAttributes:dictforState:UIControlStateNormal];
//选中状态
dict =@{NSForegroundColorAttributeName:[UIColorblackColor]};
[itemsetTitleTextAttributes:dictforState:UIControlStateSelected];