title: iPad - Resizing a modal UIViewController
body: <p>I am trying to display a login screen using presentModalViewController on iPad.</p>
  
  <pre><code>LoginFormController *controller = [[[LoginFormController alloc] initWithNibName:@"LoginFormView" bundle:nil] autorelease];
  [controller setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal];
  [controller setModalPresentationStyle:UIModalPresentationFormSheet];
  [self controller:loginFormController animated:YES];
  </code></pre>
  
  <p>No matter what size I set the view to be in Interface Builder, it always resizes to about 540x620. But the login screen is nothing more than two text fields and a button. So I only need it to be 460x240. </p>
  
  <p>Does anybody know of a way to resize this?</p>