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

UIFont *Boldfont = [UIFont boldSystemFontOfSize:16.0f]; 

NSDictionary *attributes = [NSDictionary dictionaryWithObject:Boldfont forKey:UITextAttributeFont]; 

[segment setTitleTextAttributes:attributes forState:UIControlStateNormal];

 

你可能感兴趣的:(ios 如何改变UISegmentedControl文本的字体大小?)