-->

iOS 6 - Handle iPhone 5 screen size without Defaul

2020-07-06 07:24发布

问题:

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.

回答1:

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.



回答2:

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).



回答3:

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:

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