title: UILabel not drawing multiline
body: <p>I want the label below (in yellow) to be at least two lines rather one.</p>
  
  <p><img src="https://i.stack.imgur.com/tdsCI.png" alt="problem"></p>
  
  <p>I've made sure to uncheck <code>Use Autolayout</code> in Interface Builder. When I set the <code>numberOfLines</code> from 0 to 2, I get two words stacked on top of each other, with the yellow background tightly fitting the words. The result is the same regardless of whether the <code>lineBreakMode</code> is <code>NSLineBreakByWordWrapping</code> or <code>NSLineBreakByTruncatingTail</code>. It's also the same if I set the frame of the terms Label using the result of <code>sizeWithAttributes</code> or not, and it's the same if I use <code>sizeToFit</code> or not. I've also tried making the label a <code>UILabel</code> rather than a subclass of <code>UILabel</code>, which is <code>TTTAttributedLabel</code>, but the result is the same.</p>
  
  <pre><code>_termsLabel.font = [UIFont systemFontOfSize:12];
  _termsLabel.textColor = [UIColor grayColor];
  _termsLabel.textAlignment = NSTextAlignmentCenter;
  _termsLabel.lineBreakMode = NSLineBreakByWordWrapping;
  _termsLabel.numberOfLines = 0;
  _termsLabel.delegate = self;
  _termsLabel.backgroundColor = [UIColor yellowColor];
  
  // Terms label
  NSString *termsText = [NSString stringWithFormat:@"%@ %@ %@ %@", NSLocalizedString(@"TermsIAgree", nil),
                                                                   NSLocalizedString(@"SettingsTOS", nil),
                                                                   NSLocalizedString(@"LocalizedAnd", nil),
                                                                   NSLocalizedString(@"SettingsPrivacyPolicy", nil)];
  
  _termsLabel.text = termsText;
  _termsLabel.linkAttributes = @{ (__bridge NSString *)kCTUnderlineStyleAttributeName : [NSNumber numberWithBool:YES]};
  CGSize termsSize = [_termsLabel.text sizeWithAttributes: @{ NSFontAttributeName : _termsLabel.font}];
  _termsLabel.frame = CGRectMake(65,
                                 395,
                                 termsSize.width, termsSize.height);
  
  [_termsLabel addLinkToURL:[NSURL URLWithString:TOS_URL] withRange:[termsText rangeOfString:NSLocalizedString(@"SettingsTOS", nil)]];
  [_termsLabel addLinkToURL:[NSURL URLWithString:PRIVACY_POLICY_URL] withRange:[termsText rangeOfString:NSLocalizedString(@"SettingsPrivacyPolicy", nil)]];
  </code></pre>
  
  <p><strong>EDIT</strong>: By finding the terms text size using <code>CGSize termsSize = [_termsLabel.text sizeWithFont:_termsLabel.font forWidth:200 lineBreakMode:NSLineBreakByWordWrapping];
  </code> Yet the <code>height</code> of the <code>termsSize</code> is then <code>14</code>, resulting in just one line:</p>
  
  <p><img src="https://i.stack.imgur.com/QGq94.png" alt="enter image description here"></p>
  
  <p>How can I get the second line? <strong>SOLUTION</strong> At this point, just add <code>[_termsLabel sizeToFit]</code>.</p>