title: Attributed Text Center Alignment
body: <p>I have tried everything but cannot seem to center this text. Can someone please tell me where the error is.</p>
  
  <pre><code>NSMutableParagraphStyle *paragraphStyle = NSMutableParagraphStyle.new;
  paragraphStyle.alignment = NSTextAlignmentCenter;
  label.attributedText = [[NSAttributedString alloc] initWithString:cell.EventTitle.text attributes:@{NSForegroundColorAttributeName : [UIColor whiteColor],NSParagraphStyleAttributeName:paragraphStyle,NSBaselineOffsetAttributeName : @0,NSFontAttributeName : [UIFont fontWithName:@"BrandonGrotesque-Black" size:34]}];
  </code></pre>