iOS 6 - Handle iPhone 5 screen size without Default-568h@2x.png

两盒软妹~` 提交于 2019-12-09 15:54:22

问题


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.



来源:https://stackoverflow.com/questions/12512221/ios-6-handle-iphone-5-screen-size-without-default-568h2x-png

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!