title: How to move the buttons in a UIAlertView to make room for an inserted UITextField?
body: <p>[EDIT] Hmm.  Perhaps this question should be titled "what is the default user-input dialog view called in CocoaTouch?"  I realize that I can create an entire view that is exactly what I want, and wrap it in a view controller and presentModalView -- but I was sort of hoping that there was a standard, normal user-input "dialog" view that came-with Cocoa-touch.  "Enter your name", "enter text to search", etc., are VERY common things!</p>
  
  <p>Anyway... here's the question as I originally asked it:</p>
  
  <p>This code:</p>
  
  <pre><code>UIAlertView* find = [[UIAlertView alloc] init];
  [find setDelegate:self];
  [find setTitle:@"Find"];
  
  [find addButtonWithTitle:@"Cancel"];
  [find addButtonWithTitle:@"Find &amp; Bring"];
  [find addButtonWithTitle:@"Find &amp; Go"];
  [find addButtonWithTitle:@"Go To Next"];
  
  [find addSubview:_findText];
  
  CGRect frm = find.frame;
  int height = frm.size.height + _findText.frame.size.height + 100; // note how even 100 has no effect.
  [find setFrame:CGRectMake(frm.origin.x, frm.origin.y, frm.size.width, height)];
  
  [find setNeedsLayout];
  [find show];
  [find release];
  </code></pre>
  
  <p>Produces this Alert view:</p>
  
  <p><a href="http://www.publicplayground.com/IMGs/Misc/FindAlert.png" rel="nofollow noreferrer">Find Alert http://www.publicplayground.com/IMGs/Misc/FindAlert.png</a></p>
  
  <p>(I started with the code from <a href="https://stackoverflow.com/questions/376104/uitextfield-in-uialertview-on-iphone-how-to-make-it-responsive#376546" title="This other guy&#39;s question">this question by emi1Faber</a>, and it works as advertised; however, as I state in my comment, the cancel button overlays the text field.)</p>
  
  <p>How do I reshuffle everything to make the text field fit properly?  [findAlert setNeedsLayout] doesn't seem to do anything, even after I [findAlert setFrame:tallerFrame].  Hints?</p>
  
  <p>Thanks!</p>