最初のビューのみを縦向きに自動回転させ、2番目のビューのみを横向きモードに自動回転させる方法
私は最初のビューでこのように試しました
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskPortrait;
}
2 番目/詳細ビューで
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskLandscape;
}
-(BOOL) shouldAutorotate{
return YES;
}