title: How to fix 'sizeWithFont:constrainedToSize:lineBreakMode:' is deprecated: warning
body: <p>My code is </p>
  
  <pre><code>CGSize textSize =  [text sizeWithFont:font constrainedToSize:CGSizeMake(self.bounds.size.width - 106, CGFLOAT_MAX) lineBreakMode:NSLineBreakByWordWrapping];
  </code></pre>
  
  <p>Anyone knows how can i fix this warning?</p>