title: UIAlertView - Set message to Left Alignment in IOS
body: <p>I am using UIAlertView as below</p>
  
  <pre><code>UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"Review" message:[dictionary valueForKey:@"Review"] delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
  [alert show];
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/W2fs1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W2fs1.png" alt="Image using default UIAlertView"></a></p>
  
  <p>UIAlertView using Accessory View </p>
  
  <pre><code>    NSMutableString *message = [NSMutableString string];
      NSString *title = [dictionary valueForKey:@"REVIEW"];
      [message appendString:title];
      [message appendString:@"\n"];
  
      UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Review" message:@"" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
  
      [alert setValue:[self getLabelWithMessage:message  withTitle:title] forKey:@"accessoryView"];
      [alert show];
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/SwV1D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SwV1D.png" alt="UIAlertView - using AccessoryView"></a></p>
  
  <p>2nd solution working fine for me as per below solution</p>
  
  <p><a href="https://stackoverflow.com/questions/30136122/simple-uialertview-with-nsattributedstrings">Simple UIAlertView with NSAttributedString(s)</a></p>
  
  <p>But this solution will it approved by Apple?</p>
  
  <pre><code>[alert setValue:[self getLabelWithMessage:message  withTitle:title] forKey:@"accessoryView"];
  </code></pre>
  
  <p>I need to set Left Alignment to Message in UIAlertView.</p>
  
  <p>Any suggestions for any other alternative solution.</p>
  
  <p>Thanks in Advance.</p>