Commit fbf4308c authored by yuzheng's avatar yuzheng

优化UIBarButtonItem高亮态字体

parent 42860c71
......@@ -1007,6 +1007,10 @@
textAttrs[NSForegroundColorAttributeName] = tzImagePickerVc.barItemTextColor;
textAttrs[NSFontAttributeName] = tzImagePickerVc.barItemTextFont;
[item setTitleTextAttributes:textAttrs forState:UIControlStateNormal];
NSMutableDictionary *textAttrsHighlighted = [NSMutableDictionary dictionary];
textAttrsHighlighted[NSFontAttributeName] = tzImagePickerVc.barItemTextFont;
[item setTitleTextAttributes:textAttrsHighlighted forState:UIControlStateHighlighted];
}
+ (BOOL)isICloudSyncError:(NSError *)error {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment