when clicked button "ok" alert automatically closes, How to prevent it
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Title"
message:@"Message"
delegate:self
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert show];
i want clicked button "OK" and not dismiss alert ..if(logics){ not dismis } else { dismiss alert }
thanx