title: Get the NSString height
body: <p>I have an NSString, and I want to know its height to create an appropriate UILabel.</p>
  
  <p>Doing this</p>
  
  <pre><code>NSString *string = @"this is an example"; 
  CGSize size = [string sizeWithFont:[UIFont systemFontOfSize:10.0f] 
                            forWidth:353.0 
                       lineBreakMode:UILineBreakModeWordWrap];
  float height = size.height;
  </code></pre>
  
  <p>height is now 13.0.
  If I use this string</p>
  
  <pre><code>NSString *string = @"this is an example this is an example this is an example 
                       this is an example this is an example this is an example 
                       this is an example this is an example this is an example 
                       this is an example this is an example this is an example 
                       this is an example this is an example this is an example 
                       this is an example "; 
  </code></pre>
  
  <p>height is always 13.0 (and with 353 as width, that's impossible)... what am I doing wrong? </p>
  
  <p>ADD:</p>
  
  <pre><code>size.width;
  </code></pre>
  
  <p>works fine... so it's like if the lineBreakMode is not correct... but it is, isn't it?</p>