segmentedControlStyle在iOS7 之后设置没有效果了
那么如何快速的设置
UISegmentedControl的背景颜色呢?
#define RGBACOLOR(r, g, b, a) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:(a)]
segmentController.tintColor=RGBACOLOR(123, 203, 184, 1);
这两句话就可以搞定了