Search code examples
iosios4uiactionsheet

Two Action Sheets in one view


I want to have two Action Sheets, but how can I know for which of them is called method -(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex


Solution

  • I would set the tag of those action sheets and checks the tag in the clickedButtonAtIndex.