设置UISegmentedControl的字体大小和颜色
NSDictionary *dic = [NSDictionarydictionaryWithObjectsAndKeys:[UIColorblackColor],UITextAttributeTextColor, [UIFontfontWithName:@"SnellRoundhand-Bold"size:14],UITextAttributeFont ,[UIColorwhiteColor],UITextAttributeTextShadowColor ,nil]; [segment setTitleTextAttributes:dic forState:UIControlStateNormal];
“人生苦短,不要把时间浪费在犹豫不决上,喜欢的东西就去买,喜欢的人就去追。”