iPad's UIActionSheet showing multiple times
I have a method called -showMoreTools: which is: - (IBAction) showMoreTools:(id)sender { UIActionSheet *popupQuery = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:nil destructiveButtonTitle:@"Close" otherButtonTitles:@"Add Bookmark", @"Add to Home Screen", @"Print", @"Share", nil]; popupQuery.actionSheetStyle = UIActionSheetStyleDefault; popupQuery.dismiss [popupQuery showFromBarButtonItem:moreTools animated:YES]; [popupQuery release]; } When an user taps a UIBarButtonItem it displays that UIActionSheet , but then, if the user wants to close the UIActionSheet without