PortraitUpsideDown
iPhone 5 でビューを回転できません。プロジェクトの概要で向きを使用supportedInterfaceOrientations(UIInterfaceOrientationMaskAll)
しshouldAutorotate {return YES;}
、確認しました。PortraitUpsideDown
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)
{
self.ViewController = [[ViewController alloc]initWithNibName:@"ViewController" bundle:nil];
self.navigationController=[[UINavigationController alloc] initWithRootViewController:ViewController];
}
私は使用し[self.window setRootViewController: self.navigationController]
ました。iPhone 4s では問題なく動作しますが、iPhone 5 では動作しません。