0

I don't know how to use LaunchImage.xib file , I am new here ,because I use the image asset , but recently I need add landscape launch image , but It doesn't work if I use Image Asset , so I have to use the LaunchImage.xib But I never used before , SO I put an Imageview inside and put a image there , but after I launch the app , the launch image keep showing the copyright information and the the name of the app, It is not the image :(

why this and how to handle this problem :( how can I add landscape launch image , I met a big problem . I use Xcode 7

2 Answers2

0

In your Target's "General" tab make sure that you have your LaunchScreen.xib file selected under "Launch Screen File". Also when you select your LaunchScreen.xib and then select it's View there's a property under the section called "Interface Builder Document" called "Use as Launch Screen". Make sure that's selected.

Sean G
  • 479
  • 4
  • 9
  • I did , and I found that it only works on simulator , if i use a real device , it doesn't work , the launch image is still black , i don't know why – happyzhang187 Dec 03 '15 at 06:31
  • Try cleaning the project files and device first. I've found xibs aren't always copied to the device again when changed. A clean should force it to copy your resources again. – Sean G Dec 03 '15 at 16:28
0

Make sure you have a launch screen file correctly set in your target information page :

enter image description here

Michaël Azevedo
  • 3,874
  • 7
  • 31
  • 45