0

I started remodeling an app I am working on. I wanted to change its launch screen image

So I went ahead and replaced the images that are in in LaunchScreen.xib file

The LaunchScreen.xib file launches the new image but leaves a blank white line where the status bar should be. (this white line is not part of the image)

How can I fix that ?

enter image description here

enter image description here

Lena Bru
  • 13,521
  • 11
  • 61
  • 126

2 Answers2

0

Double check your constraints. Or just remove all of them, just to be sure. Then stretch your UIImageView so it would take the whole size of the view and add constraints again. Should help.

Soberman
  • 2,556
  • 1
  • 19
  • 22
0

To every strange ios problem, there is an even stranger solution

the solution for me was to set the constraint of the top layout guide to none other than -64...

The reason for it, besides accounting for the 20 pixels of the status bar, i also need to account for the 44 pixels of the navigation bar

Lena Bru
  • 13,521
  • 11
  • 61
  • 126