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.myLabel.minimumFontSize = 10.0; //You can set to anything like 5.0 or 8.0
No comments:
Post a Comment