1.默認(rèn)都不選
self.segmentControl.selectedSegmentIndex= -1;//小于0即可
2.不設(shè)置選中顏色(即選中和不選中顏色一致),將Momentary勾選即可
3.修改字體樣式和字體顏色,大小
NSDictionary* textAttr =@{NSFontAttributeName:[UIFontcustomFontWithFontName:kLanTingHeiFont withFontSize:13],NSForegroundColorAttributeName:kRGBColor(51,51,51)};//kLanTingHeiFont:蘭亭黑
[self.segmentControlsetTitleTextAttributes:textAttr forState:UIControlStateNormal];