tags:

views:

43

answers:

1

Hi guys Good Morning, Here is my question is i have done simple application its just like when a tab a button it will show a MEsssage like "How do u do " Now i want to keep a color to the TEXt how to do it, i have written like below

#import "tr1ViewController.h"

@implementation tr1ViewController

- (IBAction)butt
{
  label.text = @"HI How do u do" ;
  label.UIColor=ColorWithName:"@red";
}

could anyone please let me know the Declaration

Thanks in Advance

+1  A: 
label.textColor = [UIColor redColor];
dreamlax