title: How can I underline text in iOS 6?
body: <p>I am trying to underline some text in a label. However, I do't know how to get the range of the entire text in the label. This is what I have so far:</p>
  
  <pre><code>NSMutableAttributedString *mat = [self.tableLabel.attributedText mutableCopy];
  [mat addAttributes:@{NSUnderlineStyleAttributeName: @(NSUnderlineStyleSingle)} range://??];
  self.tableLabel.attributedText = mat;
  </code></pre>
  
  <p>What should I put for the range?</p>