我用UITabBarController创建了xib,我有3个用于3个视图控制器的navigationControllers。
我的问题是当我旋转 shouldAutorotateToInterfaceOrientation 没有调用时。
任何人都可以帮助我在UITabBarContoller视图中使用 shouldAutorotateToInterfaceOrientation 。
提前致谢...
答案 0 :(得分:3)
对于UITabBarController,如果希望视图旋转,则从所有视图控制器中的方法-shouldAutorotateToInterfaceOrientation
返回YES,否则它将不会旋转。