Iphone UITableViewCell font and line break

/ Published in: Objective C
Save to your folder(s)

Copy this code and paste it in your HTML
  1. cell.textLabel.lineBreakMode = UILineBreakModeWordWrap;
  2. cell.textLabel.numberOfLines = 0;
  3. cell.textLabel.font = [UIFont fontWithName:@"TrebuchetMS-Bold" size:17.0];

URL: http://blog.lightvoid.net/2008/11/02/iphone-uifont-list/

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.