设置UISegmentedControl的字体大小和颜色

NSDictionary *dic = [NSDictionarydictionaryWithObjectsAndKeys:[UIColorblackColor],UITextAttributeTextColor,  [UIFontfontWithName:@"SnellRoundhand-Bold"size:14],UITextAttributeFont ,[UIColorwhiteColor],UITextAttributeTextShadowColor ,nil];
 [segment setTitleTextAttributes:dic forState:UIControlStateNormal];

 

posted @ 2015-12-02 08:57  death3721  阅读(259)  评论(0编辑  收藏  举报