Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Launch Screen not displaying iOS 8

I'm trying to get the Launch screen to display instead I get the default black screen.

I remember I've had this issue in the past and is something really silly but I can't remember what it is.

I have a LaunchScreen.xib. I've set in my target -> info to use LaunchScreen and not image catalog. I am running iOS 8 and using Xcode 6.1. I tried on all iPhone simulators and iPhone 4s.

I can't think what more info to give than that.

like image 643
user1898829 Avatar asked Dec 22 '14 15:12

user1898829


2 Answers

For those who are still looking for another answer here's what worked for us:

Our launch xib only contains an imageView in the middle of the view. For some reason the image never showed (but the view was there, checked it with changing the background color).

The solution was to move the image file out of the image catalog and just drop it in the project as a standalone file. Pretty strange considering when we tried other images from the catalog they appeared correctly but not this one. Anyway, I hope this helps someone!

like image 94
jaga Avatar answered Oct 20 '22 14:10

jaga


I had the same issue. Turned out that I had earlier tried to attach a viewcontroller file with the launchscreen. To fix:

  1. Go to launch screen
  2. Click Connections Inspector in right pane
  3. Remove all connections.

Accoring to @doctorBroctor: also go to the File's Owner tab and remove the connections there.

like image 26
Kashif Avatar answered Oct 20 '22 14:10

Kashif