title: What is the equivalent of NSLineBreakMode in iOS 7 attributed strings drawing methods?
body: <p>There was a method </p>
  
  <pre><code>- (CGSize)drawInRect:(CGRect)rect withFont:(UIFont *)font lineBreakMode:(NSLineBreakMode)lineBreakMode alignment:(NSTextAlignment)alignment;
  </code></pre>
  
  <p>which I must replace now for iOS 7. I get as far as </p>
  
  <pre><code>NSDictionary *attributes = @{NSFontAttributeName: font};
  [self drawInRect:rect withAttributes:attributes];
  </code></pre>
  
  <p>but how to specify the line break mode like word wrap? I searched documentation of Attributed string drawing symbols but no mention of line break mode. Is this automartically always word-wrap?</p>