我無法在我的iPhone 5中旋轉我的視圖PortraitUpsideDown
。我在項目摘要中使用了supportedInterfaceOrientations(UIInterfaceOrientationMaskAll)
和shouldAutorotate {return YES;}
,並且還檢查了PortraitUpsideDown
。Iphone 5,UIInterfaceOrientationPortraitUpsideDown
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
plz幫助我在我巨大的混亂........ –