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