The following snippet provides a utility method to change the label font from bold to regular. Along with that it also changes the color to red or black respectively.


Code

–(void) updateLabel :(UILabel*) field emphasis :(BOOL) emphasis
{
    if (emphasis)
    {
        field.textColor = [UIColor redColor];

        UIFont* regFont =  [UIFont fontWithName:@"Verdana-Bold"  size:15];
        [field setFont:regFont];

    }
    else {
        field.textColor = [UIColor blackColor];
        UIFont* regFont =  [UIFont fontWithName:@"Verdana"  size:15];


        [field setFont:regFont];
}