title: How can I set the color and alignment of attributed text in a UITextView in iOS 7?
body: <p>The formatting of my textViews worked fine in iOS 6, but no longer in iOS 7. I understand with Text Kit much of the under the hood stuff has changed. It's become really quite confusing, and I'm hoping someone can help straighten it out a bit by helping me with something as simple as this.</p>
  
  <p>My static UITextView originally was assigned a value for it's <code>textColor</code> and <code>textAlignment</code> properties. Then I made a <code>NSMutableAttributedString</code>, assigned it an attributes, then assigned it to the textView's <code>attributedText</code> property. The alignment and color no longer take effect in iOS 7. </p>
  
  <p>How can I fix this? If these properties take no effect, than why do they exist anymore? Here's the creation of the textView:</p>
  
  <pre><code>UITextView *titleView = [[UITextView alloc]initWithFrame:CGRectMake(0, 90, 1024, 150)];
  titleView.textAlignment = NSTextAlignmentCenter;
  titleView.textColor = [UIColor whiteColor];
  
  NSMutableAttributedString *title = [[NSMutableAttributedString alloc]initWithString:@"Welcome"];
  UIFont *font = [UIFont fontWithName:@"Avenir-Light" size:60];
  [title addAttribute:NSParagraphStyleAttributeName value:font range:NSMakeRange(0, title.length)];
  titleView.attributedText = title;
  
  [self.view addSubview:titleView];
  </code></pre>