0

我有一个有 10 个视图的应用程序 UITabBar。显示 4 个视图,6 个在“更多”中。在我的每个视图中,都有一个 UIWebView 和一个导航栏。一切都经过优化以自动适应。每个文件 .m 包含以下语句:

- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation
{
     return (interfaceOrientation != UIInterfaceOrientationPortrait);
}

但是,在 iPad 和 iPhone 中,应用程序不会自动旋转!

我能做些什么 ?

编辑@ 00h00 GMT +1:

支持设备方向的菜单正常,但不起作用

4

0 回答 0