iOS 6 - Handle iPhone 5 screen size without Defaul

2020-07-06 07:53发布

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

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

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.

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

4条回答
ゆ 、 Hurt°
2楼-- · 2020-07-06 08:11

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?

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

查看更多
Lonely孤独者°
3楼-- · 2020-07-06 08:26

For what i know, adding this Default is the only way to handle iPhone 5 screen. Maybe you can just add Default images that are only black

查看更多
家丑人穷心不美
4楼-- · 2020-07-06 08:28

If you use an empty Asset Catalog for your Launch Images, the iPhone 5's screen size is supported (without having to include any image files at all).

查看更多
虎瘦雄心在
5楼-- · 2020-07-06 08:30

I think you can add a 568 launch image to gain full screen, and empty Launch Images option in general setting.

查看更多
登录 后发表回答