NSString *myDescription = @"String";

[[UIColor colorWithRed:119/255.f green:119/255.f blue:119/255.f alpha:1.f] set];

[myDescription drawInRect:CGRectMake(10, 200, 85, 15

                     withFont:[UIFont systemFontOfSize:12.f]

                lineBreakMode:UILineBreakModeClip

                    alignment:UITextAlignmentCenter];


drawInRect:를 호출하기전에
[[UIColor blackColor] set];

이런식으로 호출해주시면 됩니다 ㅎㅎ 

+ Recent posts