0

我知道在发布时有上百万个关于 iPad 定位的问题,因为我已经阅读了所有这些问题,但这是我不明白的事情。

几乎所有内容都假设 iPad 是纵向的……

但是...您可以提供横向启动图像以及是否会使用它。

因此,在某个地方,它知道该设备处于横向状态......但似乎没有任何地方可以确定在启动时是否使用了横向图像!

我试过了:

orientation = [UIDevice currentDevice].orientation;
orientation = [UIApplication sharedApplication].statusBarOrientation;

他们总是说肖像……即使不是。

有任何想法吗?

谢谢!

4

1 回答 1

0

这些是一些可以回答您问题的链接。1. Landscape Lauch 2. Second Link 3. Apple Developer Library

每个链接都有您想知道的适当信息。

于 2012-05-17T05:20:27.977 回答