Launch Screen Storyboard Not Displaying Image

LaunchScreen.Storyboard is not displayed when launching the app

Answer:

The image in my ImageView was in assets.xcassets. Somehow it couldn't load there and disabled my entire LaunchScreen. I had to put it in resources to make it work. And as my ImageView was able to load, I could see the whole LaunchScreen, instead of just a black screen.

iOS Xcode LaunchScreen Storyboard not displaying

In case anyone else runs into this issue, I resolved it 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 that new ViewController. There may be some sort of bug with XCode 7.2 with respect to the LaunchScreen storyboard and default entry point into the auto-created View Controller, but then again, I've tried replicating this 3 times and it hasn't ever repeated itself, so maybe not.

Launch Screen not working on iOS 14 with Xcode 12

So here are a lot of good ideas, but I was able to finally solve the issue - it is more like a workaround. I needed to store the picture outside the Images.xcassets folder and then it started to work again. This is a very weird issue.



Related Topics



Leave a reply



Submit