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

    // 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];

posted on 2016-07-19 11:54  程序“猿”  阅读(664)  评论(0编辑  收藏  举报

导航