iOS 6 - 处理iPhone 5屏幕尺寸,不带Default-568h@2x.png [英] iOS 6 - Handle iPhone 5 screen size without Default-568h@2x.png

查看:286
本文介绍了iOS 6 - 处理iPhone 5屏幕尺寸,不带Default-568h@2x.png的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一款游戏,可以在加载时渲染几个闪屏。

We are working on a game, that renders a couple splash screens while loading.

所以我们没有使用Default.png或Default@2x.png,因为启动时屏幕是空白的。

So we are not using Default.png or Default@2x.png, because it makes sense for the screen to be blank on startup.

那么如何在iPhone 5模拟器中安装iOS 6,让我们的游戏全屏显示,而不会出现提示的闪屏图像这里?我们只需要考虑使用启动画面图像吗?这是唯一的方法吗?我认为应该可以在 Info.plist 中打开一些东西。

So how to do you get iOS 6 in the iPhone 5 simulator to render our game full screen without the splash screen image mentioned here? Do we just need to think about using splash screen images? Is it the only way? I would think there should be something you can turn on in Info.plist.

我们仍然不愿意使用启动画面图像,因为它会使我们的应用程序包更大 - 我们非常接近50MB。

We would still prefer to not use splash screen images, since it would make our app bundle larger--we are very close to 50MB.

推荐答案

我不知道知道iOS是否有其他方法来检测对iPhone 5屏幕大小的支持,但也许你可以包含一个空白的闪屏?

I do not know if there are any other methods iOS uses to detect support for the iPhone 5 screen size, but maybe you can include a blank splash screen?

我完全黑了png应该'占用很多空间。

I completely black png shouldn't take up much space.

这篇关于iOS 6 - 处理iPhone 5屏幕尺寸,不带Default-568h@2x.png的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆