ok, so i have a uipickerview
and it has 6 rows when each row is clicked a uiactionsheet will show up
now i want it so when i click the destruction button on the actionview for my action to happen, i can make it only happen for one actionsheet is there away i can do it for 2 or more
code
-(void)actionSheet

UIActionSheet *)actionSheet clickedbuttonAtIndex

NSInteger)buttonIndex {
if (buttonIndex == 0) {
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:2.2];
[UIView setAnimationTransition:UIViewAnimationTransitionFl ipFromLeft forView:self cache:YES];
[squirrelview removeFromSuperview];
[self addSubview:chickenMode];
[UIView commitAnimations];
}
}
is there away i could do multiple actionsheets buttons?