ios常用正则表达式与左对齐的UIAlertView
+(BOOL)alertPhoneString:(NSString *)text ifalert:(BOOL)ifalert{//判断是手机号码 if (text.length==0) { UIAlertView *alert=[[UIAlertViewalloc]initWithTitle:@"提示"message