How to dismiss UIAlertview ?
UIAlertView Class - To send the alert message in iPhone / iPad application we can use "UIAlertView" class. The functionality of UIAlertView and UIActionSheet is almost similar except their appearance. Using the UIAlertView you can set your own messages and title for your kind of alert, you can also give it a simple dismiss button or destroy it without button click. Find the UIAlertView syntax below?
- (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL) [myAlertView dissmissWithClickedButtonIndex:-1 animated:YES]; // Dissmiss without any button clicked