title: NSString text height not getting correct value?
body: <p>Not getting text height correctly if having new line correctly ("\n")</p>
  
  <pre><code>NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
  paragraphStyle.lineBreakMode = NSLineBreakByWordWrapping;
  
  CGRect rect = [text boundingRectWithSize:CGSizeMake(textWidth, MAXFLOAT)
                                   options:NSStringDrawingUsesLineFragmentOrigin
                                attributes:@{NSFontAttributeName:textFont,
                                             NSParagraphStyleAttributeName:
                                                 paragraphStyle}
                                   context:nil];
  </code></pre>
  
  <p>Even tried with other approaches like size butI am getting same values my text is having "\n" new line character as well.</p>