Thursday, January 06, 2011

setfont is deprecated iPhone

Yes indeed it is.

Now this:
//cell.font=[UIFont fontWithName:@"Trebuchet MS" size:20.0];

Should become this instead:
cell.textLabel.font = [UIFont fontWithName:@"Trebuchet MS" size:20.0];

No comments:

Post a Comment