presentViewControllerを使用してUIWebviewをモーダルに表示するアプリがあります。これで、ルートビューは方向の変更をサポートし、それに応じて回転します。イベントUIApplicationWillChangeStatusBarOrientationNotificationをリッスンします。
ここで、「
presentViewController:navController
animated:YES
completion:nil];
私は使用を却下します
dismissModalViewControllerAnimated:YES];
ここで問題が発生します。iOS6では、これは正常に機能し、モーダルウィンドウは親がどの方向に向いていても表示されます。
iOS 5では、presentViewControllerまたはdismissModalViewControllerAnimatedが強制的にスローします
UIApplicationWillChangeStatusBarOrientationNotification !!
なぜ何かアイデアはありますか?