Monday, July 16, 2012
How to make text shrink in UILabel ?
myLabel.adjustsFontSizeToFitWidth = YES;
myLabel.minimumFontSize = 10.0; //You can set to anything like 5.0 or 8.0
If you created UILabel and autoresized programmatically, you might need this for resizing label's text accordingly.
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)