0

I'm working on a iOS project where I'm using the assets catalog with a Launch Image. Everything seems to be correctly configured, the assets catalog doesn't show me any warnings about image size, but when I test the app, the Launch Image shows with a black line on the left:

Launch Image

My stack is:

  • Xcode 7.1
  • iOS deployment target: 8.1

Thanks in advance.

dacuna
  • 1,096
  • 1
  • 11
  • 22
  • 2
    It seems like your image is having transparent area as a part of png. Though the actual size could be as per the requirements. Do check the image for transparent area and then for actual size. – Piyush Mathur Nov 05 '15 at 02:31
  • thanks man, never though about some transparency on the original image, problem solved ;) – dacuna Nov 05 '15 at 02:53

1 Answers1

3
  1. Check for the transparent area in image file to rectify this issue.

  2. Replace the rectified launch image to the image assets.

  3. Test the image on the relevant simulator or device.

I had same problem earlier and solved in the same manner.

  • 1
    Thanks for your valuable answer, I've already solved with the comment by @piyush-mathur but as you give an actual answer I'm going to mark your answer as the correct one. – dacuna Nov 10 '15 at 03:11