title: Multiline UILabel with adjustsFontSizeToFitWidth
body: <p>I have a multiline UILabel whose font size I'd like to adjust depending on the text length. The whole text should fit into the label's frame without truncating it.</p>
  
  <p>Unfortunately, according to the documentation the <code>adjustsFontSizeToFitWidth</code> property "is effective only when the <code>numberOfLines</code> property is set to 1".</p>
  
  <p>I tried to determine the adjusted font size using</p>
  
  <pre><code>-[NSString (CGSize)sizeWithFont:(UIFont *)font constrainedToSize:(CGSize)size lineBreakMode:(UILineBreakMode)lineBreakMode]
  </code></pre>
  
  <p>and then decrementing the font size until it fits. Unfortunately, this method internally truncates the text to fit into the specified size and returns the size of the resulting truncated string.</p>