ios 如何改变UISegmentedControl文本的字体大小?

UIFont *Boldfont = [UIFont boldSystemFontOfSize:16.0f]; 
NSDictionary *attributes = [NSDictionary dictionaryWithObject:Boldfont forKey:UITextAttributeFont]; 
[segment setTitleTextAttributes:attributes forState:UIControlStateNormal];

 

posted on 2013-11-21 10:31  Hai_阔天空  阅读(599)  评论(0)    收藏  举报

导航