IOS 6 screen rotation without using storyboard

前端 未结 3 390
灰色年华
灰色年华 2021-01-18 04:23

Anyone who\'s trying the newest iOS 6 beta(version 2 or 3) has the same experience of auto rotation not working?

I am not using storyboard but pure navigation contro

3条回答
  •  广开言路
    2021-01-18 05:04

    instead of [self.window addSubview:navController.view];

    insert self.window.rootViewController = navController;

提交回复
热议问题