the code below is not work on iOS7, only before iOS7.
for (UIView *view in alert.subviews) {
if([[view class] isSubclassOfClass:[UILabel class]]) {
((UILabel*)view).textAlignment = NSTextAlignmentLeft;
}
}
the question Align message in UIAlertView to left in iOS 7 solve this problem.