views:

170

answers:

0
 UIActionSheet *actionSheet = [[UIActionSheet alloc]
        initWithTitle:nil
        delegate:self
        cancelButtonTitle:@"Cancel"
        destructiveButtonTitle:@"Delete Today's Data"
        otherButtonTitles:@"Delete Week's Data",@"Delete Month's Data",nil];

Is there an easy to have more than 1 red "destructive button" in an iPhone app's UIActionSheet?

I wanted to make 1 "DELETE" button... and then have the actionSheet ask/confirm between 3-4 different "delete choices" (or just 1 cancel).

(Instead of having 4 different DELETE buttons... and have to maintain 4 different actionSheets... 1 for each)

... also... would Apple have a problem with a submission to the appStore with this idea?