2011-10-24 88 views

回答

7

使用本...

-(void)showAlertView 
{ 
    // code for showing your alertView 
    [self performSelector:@selector(dismissAlertView) withObject:yourObject afterDelay:5] 
} 

-(void)dismissAlertView 
{ 
    [yourAlert dismissWithClickedButtonIndex:0 animated:YES]; 
} 
+0

得益於其working..But其消失的太快......如何讓它在那兒呆了一會兒。? – Chandu

+0

看到更新後的答案.. – Aravindhan

+0

你知道它比thanx – Chandu