设置UISegmentedControl的字体大小、颜色

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

   [segment setTitleTextAttributes:dic forState:UIControlStateNormal];

posted @ 2013-02-05 11:55  xiaoxiaoxigua  阅读(7473)  评论(0编辑  收藏  举报