2

iOS 指南要求我们为 iPad 打包 768 x 1004(纵向启动图像)或 1024 x 748(横向启动图像)大小的启动图像,无论应用程序是否全屏。但是,如果我们打算通过显示相同的启动图像更多时间来延长全屏的持续时间,以便我们可以在后端进行初始化,我们往往会看到一个小的漂移(我们显示的启动图像移动了一个小数量)。

这是因为 iOS 用于显示非全屏图像的缩放比例与我们显示图像时的比例不同。

有人可以帮我解决这个问题吗?

4

1 回答 1

0

I've seen that Apple document that requests Default.png files of 1024x748 and 1004x768. However, if your app specifies that it's a full screen app (status bar hidden), then I think it's ok to make your Default.png files (for iPad) the full 1024x768, which makes this problem go away.

I'm just looking at a full screen universal app I have now, that has been released, and its launch image is full screen (1024x768).

Running in the simulator works just fine (and I marked up the image to make absolutely certain that it wasn't cropping off the top 20x and then rescaling).

I don't have an iTunes Connect app that I can currently validate against (easily), so it's possible that it'll complain upon submission to iTunes Connect. But, I doubt it.

If you look at the project Summary tab -> iPad Deployment Info, it will show a warning for your Launch Image sizes:

The size of the launch image for iPad in landscape mode does not match the recommended size of 1024 x 748 pixels.

So, I take that as a recommendation, not a requirement.

Edit: also, see this other stack overflow question. That answer also suggests using 1024x768 images, and it hasn't received any pushback from the community (after 19 months+)

于 2012-07-10T09:21:04.250 回答