0

I found LaunchImage in Images.xcassets. I inserted my png file and it worked fine. Then I updated it and it is not shown again. Only a white screen appeared. I removed it completely, inserted it again. Does not help. The recomendation for portrait is 1242x2208. So I created exacly this size. No change. Where is the problem?

Peter71
  • 2,180
  • 4
  • 20
  • 33

2 Answers2

1

Did you try to use the LaunchScreen.xib as a launch screen?

Check out my answer to this question because you may have a similar issue: Landscape Launch Images on Xcode 7 madness - [FIXED]

Community
  • 1
  • 1
BalestraPatrick
  • 9,944
  • 4
  • 30
  • 43
  • When creating a new project with XCode 7 I get a LaunchScreen.storyboard. When I create it from XCode 6.4 I get LaunchScreen.xib. I copied them to my existing project, but none of them are shown after startup. Do I need to insert some additional code (Swift)? I only want to show a simple png file. – Peter71 Sep 02 '15 at 13:28
  • Yes, go into your project settings, in the general section you should find "App Icons and Launch Images". Make sure to select the correct Launch Screen file there. – BalestraPatrick Sep 02 '15 at 14:09
  • Ah, I got it. I had more than one LaunchScreen item. And the unknown was selected and empty. – Peter71 Sep 02 '15 at 18:13
0

LaunchScreen.xib has a higher priority than LaunchImage.

If you want to make LaunchImage work,you should first remove LaunchScreen.xib or LaunchScreen.storyboard in your project.

enter image description here

Michael Yang
  • 1,403
  • 2
  • 18
  • 27