title: iOS7's deprecation of NSString's drawAtPoint:forWidth:withFont:minFontSize:actualFontSize:lineBreakMode:baselineAdjustment:
body: <p>With iOS7's release, the following function has been deprecated:</p>
  
  <pre><code>drawAtPoint:forWidth:withFont:minFontSize:actualFontSize:lineBreakMode:baselineAdjustment:
  </code></pre>
  
  <p>In Apple's documentation it suggests to use</p>
  
  <pre><code>drawInRect:withAttributes:
  </code></pre>
  
  <p>The reason I use this function is because of the <code>&lt;code&gt;minFontSize&lt;/code&gt;</code> parameter, which lets me draw a string inside a rect.</p>
  
  <p>If the text won't fit, it will first shrink the text size to <code>&lt;code&gt;minFontSize&lt;/code&gt;</code> and then if it doesn't fit, it will truncate it.</p>
  
  <p>I am unable to accomplish this so far using <code>&lt;code&gt;drawInRect:withAttributes:&lt;/code&gt;</code>.</p>
  
  <p>Which key I can use to determine the <code>&lt;code&gt;minFontSize&lt;/code&gt;</code> equivalent?</p>