设置默认的颜色
self.segmentControl.tintColor = RGBACOLOR(26, 172, 139, 1);
改变字体的颜色
NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:RGBACOLOR(177, 177, 177, 1), NSForegroundColorAttributeName, [UIFont boldSystemFontOfSize:14], NSFontAttributeName,nil];
[self.segmentControl setTitleTextAttributes:dic forState:UIControlStateNormal];