ラベルの代わりにテキストビューを使用できます
UITextView *textView=[[UITextView alloc]init];
NSString *String = [NSString stringWithFormat:@"<div><strong style='color:#3468A5;'>This</strong><strong style='color: #4B4B4B;'>is sample string</strong></div> "];
textView.Frame=CGRectMake(10.,10,5,220);
textView.contentInset = UIEdgeInsetsMake(-10,-6,0,0);
[textView setFont:[UIFont fontWithName:@"HelveticaNeueBold" size:14]];
[textView setBackgroundColor:[UIColor clearColor]];
[textView setScrollEnabled:NO];
[textView setEditable:NO];
@try
{
SEL setContentToHTMLString = NSSelectorFromString([@[@"set", @"Content", @"To", @"HTML", @"String", @":"] componentsJoinedByString:@""]);
[textView performSelector:setContentToHTMLString withObject:String];
}
@catch (NSException *exception)
{
// html+css could not be applied to text view, so no kerning
}