SHARE
TWEET

Untitled

a guest May 7th, 2012 13 Never
  1. UILabel *label;
  2. CGRect labelRect = [label textRectForBounds:label.bounds limitedToNumberOfLines:10];
  3. CGRect f = label.frame;
  4. f.size.height = labelRect.size.height;
  5. label.frame = f;
RAW Paste Data
Top