uialertview 改变文字显示位置
- (void)willPresentAlertView:(UIAlertView *)alertView{
UIView * view = [alertView.subviews objectAtIndex:2];
if([view isKindOfClass:[UILabel class]]){
UILabel* label = (UILabel*) view;
CGRect frame = label.frame;
frame.origin.x +=10;
label.frame = frame;
label.textAlignment = UITextAlignmentLeft;
}
}