Automatically adjusting height of a UILabel
问题 I'm using the following two methods (one is a category of NSString and the other a category of UILabel ) to automatically adjust the height of a label based on the text inside it. It's working fine for the mostpart, but it's having some unpredictable results. I'm not quite sure where the issue may be occuring and I'm hoping some of you fine folks can offer a helping hand. First off, here are the methods in question: NSString Category: - (CGFloat) fontSizeWithFont: (UIFont *) font