iOS Xcode LaunchScreen Storyboard Not Displaying

Am I trying to use the Xcode LaunchScreen storyboard as a launch screen? All the questions previously asked about this are related to the old startup image or the .xib method - try to do it now with the new LaunchScreen storyboard, which Xcode automatically generates instead. I chose the LaunchScreen storyboard as the startup screen file in my deployment info: Deployment Info Image

The storyboard itself confirms that it is set as the initial screen in the file inspector.

File Inspector of LaunchScreen storyboard

And the info.plist file also reflects this.

enter image description here

And yet, this does not work. The LaunchScreen storyboard is never displayed - it just goes right to the first screen in my main storyboard. Using Xcode 7.2 and Deploying on iOS 9

+10
source share
10 answers

In case anyone else encounters this problem, I solved this by simply deleting the ViewController on my LaunchScreen storyboard (leaving me with an empty storyboard), creating a new ViewController and resetting the Storyboard entry point to this new ViewController. There might be some kind of bug with Xcode 7.2 regarding the LaunchScreen storyboard and the default entry point to the automatically created view controller, but again, I tried to play this 3 times and it never repeated, so maybe not.

+4
source

Enable these two settings for LaunchScreen.storyboard.

enter image description here enter image description here

+19
source

Just in case, this helps someone. Scenario, I created my new project and copied the old Launch Image from another project. And then I started to get a startup image, but when I wanted to change it to a new image, I was still looking at the old image, which it stuck forever as a startup image, no matter what I do. Then I reset my simulator and restarted my iPhone, and there you go, I looked at getting a new image. It is like somewhere in the documents or in the device cache the old image is stored until you reset the phone. Thanks

+6
source

In my case, all the proposed settings were set correctly, but I still had a blank launch screen. In the spirit of AmJa's suggestion regarding a cache issue, I uninstalled my application from the device and reinstalled. Reinstallation made me both on my devices and on simulators.

+4
source

Another thing to be sure of is that the Launch Screen launcher is set to Launch Screen.storyboard

Run screen file

+2
source

Other solutions did not help me, but it worked:

  • Turn device orientation on and off (for example, Upside Down support) and hide the status bar as a whole.

I’m not sure which one has achieved the goal, but now it works. enter image description here

0
source

I banged my head against the wall with this, since Xcode 10.1 does not include the launch option for the new 11 "iPad Pro when creating a new set of images to launch iOS, and without it the iPad Pro does not display correctly, leaving I have no choice but to force it work with the Launch Screen storyboard.

I tried a combination of so many things, but I wanted to publish what eventually made it work 100% of the time (which was actually a combination of several things).

As you have undoubtedly read, for a UIImageView in a Launch Screen storyboard you must NOT include an extension (.jpg or .png). So many posts talk about this, but don’t take into account that the reason is that you have to create a new set of images in Images.xcassets (NOT a set of images of the startup screen, but just a set of images) and name it whatever you want (for example, “Launch- Default"). Then drag the desired .jpg or .png into the new image set. Then you will use the name of this set of images in the UIImageView in the storyboard, and everything should work fine (the image should even display in the Interface Builder).

In addition, in the general project settings, be sure to set the startup screen file for the new storyboard.

0
source

In my case, the background color of the view (full screen) was set to a “missing” color literal! After all of the above, of course; (

0
source

If you don’t see anything and there is only ImageView on your Launchscreen.storyboard, then in fact it can be a storyboard, not an image. Try inserting a button into this or something. I found that my Launchscreen.storyboard really shows, but does not show any images, and I don't know why.

0
source

in xcode9 swift4 storyboard LaunchScreen , use a .jpg image and uncheck the clear graphic context to view the images. It works flawlessly.

-one
source

All Articles