UISplitView を作成しました。splitView がランドスケープ モードで読み込まれた後、presentModalView を使用して modalView を表示します。私の問題は、modalView が常にポートレート モードであり、その解決策が見つからないことです。
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
それは私に横向きを与えますが、
UIDeviceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]
ポートレートをくれます。(4.2 未満では動作しません)
ありがとう、