4

Possible Duplicate:
Multiple red/destructive buttons UIActionSheet

 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?

Community
  • 1
  • 1
Annette
  • 127
  • 2
  • 8
  • 11
    You should go and accept some answers first. 0% is too low – vodkhang Aug 01 '10 at 03:38
  • Vodkhang, please stop responding to my posts. I'm not interested in playing "give me answering points" games with you... just because you think you deserve them. I help people... just for the sake of helping them. – Annette Aug 02 '10 at 05:57
  • 2
    Annette, Vodkhang is right. This community is self-moderating - people earn the right to do things (up/downvote, edit other people's tags, etc) based on their score. By marking questions as answered, you're providing valuable feedback to the community on which people deserve those rights. Additionally, your answered questions will stop appearing in the list of "unanswered" questions, getting out of the way of the questions that truly still need to be answered. – makdad Nov 28 '10 at 21:00
  • There is a longer [stackoverflow post here](http://stackoverflow.com/questions/4360453/multiple-red-destructive-buttons-uiactionsheet) about multiple destructive buttons. – neoneye Dec 27 '10 at 11:23

0 Answers0