代码之家  ›  专栏  ›  技术社区  ›  Jim

iPad应用程序总是以纵向模式打开

  •  0
  • Jim  · 技术社区  · 16 年前

    该应用程序使用UISplitView,并且总是以纵向模式打开。如果iPad水平放置,它将以纵向模式打开,然后旋转到横向模式。我想它只是打开在横向模式,而不需要旋转。任何想法>

    1 回复  |  直到 16 年前
        1
  •  3
  •   Rob Napier    16 年前

    在Info.plist中,设置 UIInterfaceOrientation UIInterfaceOrientationLandscapeRight Information Property List Key Reference 更多细节,包括iPhone和iPad的不同定位。