problem while displaying UIAlertview with textfield and buttons
<p>I need to place 3 buttons and one textfield  in UIAlertview. I wrote code like this.</p>

<pre><code>UIAlertView *share = [[UIAlertView alloc] initWithTitle:@"Refresh" message:nil   delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", @"Contacts", nil];
 share.tag = 2;
 [share setDelegate:self];
 [share setTitle:@"Enter Name"];
 [share setMessage:@" "];

 nameField = [[UITextField alloc] initWithFrame:CGRectMake(20.0, 45.0, 245.0, 25.0)];
 [nameField setBackgroundColor:[UIColor whiteColor]];
 [nameField setKeyboardType:UIKeyboardTypePhonePad];
 [share addSubview:nameField];
 [share show];
 [share release];
 [nameField release];
</code></pre>

<p>But it displays <a href="http://www.freeimagehosting.net/uploads/37d341b982.jpg" rel="nofollow">like this</a>.</p>

<p>If i place 2 buttons it displays fine.</p>

<p>when ever i add new button it add in next row as show above link.</p>

<p>But I need to display all the three buttons in a single column.</p>

<p>How can I do this? </p>
