I am using UIAlertView as below
UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"Review" message:[dictionary valueForKey:@"Review"] delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
[alert show];
UIAlertView using Accessory View
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];
2nd solution working fine for me as per below solution
Simple UIAlertView with NSAttributedString(s)
But this solution will it approved by Apple?
[alert setValue:[self getLabelWithMessage:message withTitle:title] forKey:@"accessoryView"];
I need to set Left Alignment to Message in UIAlertView.
Any suggestions for any other alternative solution.
Thanks in Advance.