My app is landscape based. I'd like to use MFMailComposeViewController in landscape but can't find anything to notifiy it about orientation. In landscape, MFMailComposeViewController displays only the top part of the mail compose window, coming in from the left side, when in landscape. Basically it covers half of the landscape screen. Is there a way to get the mail compose window to appear in landscape rather than portrait?
--- EDIT --- The view where I'd like to load the mail compose is derived like this:
//from first UIViewController
[self presentModalViewController:secondView animated:YES];
//from secondView (a UIViewController), I load the info view, which is where the mail compose shows
InfoController *infoController = [[InfoController alloc] initWithNibName:@"Info" bundle:[NSBundle mainBundle]];
[self.view addSubview:infoController.view];
From the above, the mail compose parent view is the third one loaded. In info.plist, I do this:
UIInterfaceOrientation = UIInterfaceOrientationLandscapeRight