I have a uiaewsheet, and the buttom button does not work correctly when I click it, or the second, but only a few times after trying. I tried to remove the cancel button below and leave the button name, however, none of these steps solved the problem. This is the code I'm using:
UIActionSheet *aSheet = [[UIActionSheet alloc]
initWithTitle:nil
delegate:self
cancelButtonTitle:nil
destructiveButtonTitle: @"Close"
otherButtonTitles:@"6940313388", @"2", @"3", @"4", nil];
source
share