-(void)showAlert{
UIAlertView*alert = [[UIAlertView alloc]initWithTitle:@"提示" message:@"正在登录请稍后..." delegate:nil cancelButtonTitle:nil otherButtonTitles:nil, nil];
[NSTimer scheduledTimerWithTimeInterval:0.5 target:self selector:@selector(AlertDismiss:) userInfo:alert repeats:YES];
[alert show];
}
-(void)AlertDismiss:(NSTimer*)theTimer{
UIAlertView*alert = (UIAlertView*)[theTimer userInfo];
[alert dismissWithClickedButtonIndex:0 animated:NO];
alert = nil;
}