Multiple keyboards popping up on iPhone alert dialog?
<p>I am setting up an alert with a text field in it so players can enter their name for a high score.  The game is oriented in landscape mode, but when I call to show the alert, the alert pops up in portrait mode while two keyboards are displayed, one in landscape and one(that's the size of the landscape one) in portrait mode.  Here's the code I'm using to setup the alert dialog:</p>

<pre><code>    UIAlertView* dialog = [[[UIAlertView alloc] init] retain];
[dialog setDelegate:self];
[dialog setTitle:@"Enter Name"];
[dialog setMessage:@" "];
[dialog addButtonWithTitle:@"Cancel"];
[dialog addButtonWithTitle:@"OK"];
[dialog addTextFieldWithValue:@"name" label:@""];
CGAffineTransform moveUp = CGAffineTransformMakeTranslation(0.0, 100.0);
[dialog setTransform: moveUp];
[dialog show];
[dialog release];
</code></pre>

<p>How do I make the alert show in landscape orientation and prevent it from showing two keyboards?</p>

<p>Thanks,
Ben</p>
