hi..
i have a problem in actionsheet.
how i can add more then ONE button ? I want to add 6 buttons !
this is my code:
Code:
-(IBAction)showActionSheet {
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"what you want to do" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Mark as ToDo" otherButtonTitles:nil];
[actionSheet showInView:self.view];
[actionSheet release];
}
when I write something in
otherButtonTitles .. the program is crash !!
please help me as soon as possible ..