【问题标题】:Orientation Issue in iPad?iPad中的方向问题?
【发布时间】:2013-02-18 10:26:30
【问题描述】:

我在 iPad 应用程序中工作,使用 UITabBarController 创建此应用程序,例如四个选项卡栏是 A、B、C 和 D。所有选项卡栏设置横向,当我选择第三个选项卡并按下提交按钮以隐藏选项卡栏时导航到另一个屏幕 (Pdf_reader.m)。 我已经在 (Pdf_reader.m) 类中设置了所有方向及其导航纵向,然后单击返回 barbutton 去 ClassC.m 显示纵向模式,但我希望 Pdf_reader 屏幕只旋转所有方向,所有标签栏设置横向模式,如何解决这个问题?

ClassC.m //Hide tabbar

-(void)Submit
{

 PDFExampleViewController *open = [[PDFExampleViewController alloc]init];
 open.hidesBottomBarWhenPushed = YES;
 [self.navigationController pushViewController:open animated:YES];

}

【问题讨论】:

    标签: ios ipad uitabbarcontroller orientation


    【解决方案1】:

    查看this question 中的答案。您需要注意一些事项。

    【讨论】:

      猜你喜欢
      • 2013-03-14
      • 2011-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多