I am trying to display a login screen using presentModalViewController on iPad.
LoginFormController *controller = [[[LoginFormController alloc] initWithNibName:@"LoginFormView" bundle:nil] autorelease];
[controller setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal];
[controller setModalPresentationStyle:UIModalPresentationFormSheet];
[self controller:loginFormController animated:YES];
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.
Does anybody know of a way to resize this?