私のアプリはランドスケープベースです。横向きでMFMailComposeViewControllerを使用したいのですが、向きについて通知するものが見つかりません。横向きの場合、MFMailComposeViewControllerは、横向きの場合、左側から入ってくるメール作成ウィンドウの上部のみを表示します。基本的に、横向きの画面の半分をカバーします。メール作成ウィンドウを縦向きではなく横向きに表示する方法はありますか?
---編集---メール作成をロードしたいビューは次のように導出されます。
//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];
上記から、メール作成の親ビューは3番目に読み込まれます。info.plistで、私はこれを行います:
UIInterfaceOrientation = UIInterfaceOrientationLandscapeRight