Portrait and Landscape mode in iOS6

后端 未结 3 895
陌清茗
陌清茗 2020-12-05 22:08

When updating my app to iOS6 standard the portrait / landscape is gone. Ir worked perfectly when I was building with Xcode 3. But now using latest Xcode and latest SDK the r

3条回答
  •  既然无缘
    2020-12-05 22:31

    Don't know whether your issue was alike but with me, the status bar was oriented correctly (landscape) and the UIViewController was portrayed. I changed following line in the application delegate application:didFinishLaunchingWithOptions:

    //[window addSubview:navigationController.view];
    
    self.window.rootViewController = navigationController;
    

    Apple=> this costed me a day and a half to find out, and a lot of money!!!

提交回复
热议问题