SHARE
TWEET

Untitled

a guest May 7th, 2012 15 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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