NSDictionary *textDic = [NSDictionary dictionaryWithObjectsAndKeys: [[UIColor blackColor] colorWithAlphaComponent:0.6f],UITextAttributeTextColor, [UIColor grayColor],UITextAttributeTextShadowColor, [NSValue valueWithUIOffset:UIOffsetMake(1, 0)],UITextAttributeTextShadowOffset, [UIFont systemFontOfSize:13],UITextAttributeFont,nil]; [mySegment setTitleTextAttributes:textDic forState:UIControlStateNormal];
改变UISegmentedControl样式,改变字体
猜你喜欢
转载自duchengjiu.iteye.com/blog/2082506
今日推荐
周排行