I need help on dismissing a UIAlertView programmatically. Currently I have this
UIAlertView *alert1 = [[UIAlertView alloc]initWithTitle:@\"title\" message:@
The methods you called is correct. I guess the alert1 is nil when your call the method dismissWithClickedButtonIndex:animated: Try to check your variable alert1.