ios设置Tabbar文字选中的颜色

NSDictionary *dictHome = [NSDictionary dictionaryWithObject:kColor(@"#FC5901") forKey:NSForegroundColorAttributeName];
        [controller.tabBarItem setTitleTextAttributes:dictHome forState:UIControlStateSelected];

暂无评论

相关推荐

获取UIImage的尺寸

int contentWid = self.view.width ; unsigned long width = CGImageGetWidth(image.CGImage) ; unsigned long height …

微信扫一扫,分享到朋友圈

ios设置Tabbar文字选中的颜色