首页 > 其他 > 详细

设置tabbar的选中状态下标签文字的颜色

时间:2016-07-19 13:32:04      阅读:153      评论:0      收藏:0      [点我收藏+]

    // 1.设置选中文字颜色

    [[UITabBarItem appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor colorWithRed:234/255.0 green:50/255.0 blue:64/255.0 alpha:1],NSForegroundColorAttributeName, nil] forState:UIControlStateSelected];

设置tabbar的选中状态下标签文字的颜色

原文:http://www.cnblogs.com/lys-iOS-study/p/5684208.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!