title: How to add a button to an existing UIActionSheet?
body: <p>I have this code:</p>
  
  <pre><code>UIActionSheet *actionSheet = [[[UIActionSheet alloc]
                  initWithTitle:@"Illustrations"
                  delegate:self
                  cancelButtonTitle:@"Cancel"
                  destructiveButtonTitle:nil
                  otherButtonTitles: @"ABC", @"XYZ",
                  nil] autorelease];
  UIImage *image = // whatever, snip
  if (image != nil)
  {
      [actionSheet addButtonWithTitle:@"LMNOP"];
  }
  </code></pre>
  
  <p>and it does a great job of adding my LMNOP button conditionally.</p>
  
  <p>...AFTER the cancel button.  </p>
  
  <p>How can I construct my action sheet with a conditional button?  Sadly, I can't do:</p>
  
  <pre><code>UIActionSheet *actionSheet = [[[UIActionSheet alloc]
        // ... etc.
        otherButtonTitles: someMutableArray
        // ... etc.
  </code></pre>
  
  <p>because that would certainly help.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks!</p>