ビューがモーダル ビューとして表示されているときに、ビューが読み込まれた後にビューを回転させる方法を探しています。
次のように呼び出して、ビューを呼び出します。
[self presentModalViewController:cntrol animated:YES];
そして、そのモーダルView Controllerで、次の方法で回転しています:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
return (orientation == UIInterfaceOrientationLandscapeRight);
}