IOS 7 launch image, displaying black screen on device ONLY

你。 提交于 2019-12-04 08:58:15

The problem is in your image. You could open your image in Preview.app, then show the Inspector (⌘I) and look at More Info tab. Wrong image will show you the following info:

and will result a black screen on the device (but will be ok in the Simulator). And the right one shood look like that:

I can't say how to fix wrong images in Photoshop. I found quite an ugly solution:

  1. open wrong png in PS;
  2. find and open correct png in another tab (make sure the canvas is of right size);
  3. select the whole image in the wrong png and copy it;
  4. paste the copied image into correct png file;
  5. perform Save As... command and replace your wrong image with the new one.

Further to the answers above, the inspector actually tells you the size that it considers valid for use, so tweak it in whatever package before importing. I have many tools but for a quick-and-clean approach, good 'ol preview comes to the rescue if you take time to explore the editing tools

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