iOS development
Launch Screen
storyboard issues
image not displaying
app design troubleshooting

Launch screen storyboard not displaying image in iOS

Codemia Knowledge Hub ·

If an image does not appear on the iOS launch screen, the cause is almost never code, because launch screens do not run your code. The launch screen is a static storyboard snapshot, so a missing image usually comes down to asset configuration, layout, target settings or simulator caching.

What a launch screen can and cannot do

A launch screen storyboard is not a normal view controller.

It can:

  • display static views and images
  • use Auto Layout
  • use asset catalog resources

It cannot:

  • execute custom code
  • fetch remote images
  • run animations the way your main app can
  • depend on runtime state

So an image you set in viewDidLoad will never show. Launch screen content must already be in the storyboard and asset catalog.

Use an asset catalog image

Add the image to Assets.xcassets and reference that asset from the UIImageView in the launch storyboard. Then verify:

  • the asset name matches exactly
  • the image asset is included in the app target
  • the image view points to that asset, not to a runtime-only image

If you renamed the asset but not the storyboard reference, the image view can stay empty with no obvious compile-time error.

Check which storyboard the target uses

In Xcode, confirm that the target's launch screen setting points to the storyboard you edited. Projects with multiple targets, renamed storyboards or leftover template files often have you fixing the wrong file.

Auto Layout explains "it works on one device"

The image may exist but sit off-screen or collapse to zero size because of constraints. A minimal full-width setup looks like this:

  • pin leading and trailing constraints
  • pin top or center vertically depending on design
  • give the image view either explicit size or content-constrained sizing
  • ensure no conflicting constraints compress it away

Launch screens are especially sensitive to layout issues because you lack the interactive debugging loop you have with ordinary views.

A reliable centered-logo pattern

  • one UIImageView
  • fixed width and height constraints
  • center horizontally and vertically
  • image from asset catalog
  • content mode set to aspect fit

For a large background image, use aspect fill carefully and test several screen sizes to avoid unexpected cropping.

Cached snapshots can hide your fix

iOS and the simulator cache launch screens aggressively, so you may fix the storyboard and still see the old screen. To clear it:

  • clean the build folder
  • delete the app from the simulator or device
  • rerun the app
  • if needed, reset the simulator

This does not fix structural bugs, but it removes stale snapshots that make a working change look broken.

Keep the launch screen static and minimal

The launch screen bridges app startup visually, so keep it simple. Avoid a pseudo splash screen with lots of text, dynamic data or conditional imagery. The closer it looks to the app's first real screen, the less noticeable the transition. A centered brand mark plus a background color is often enough.


Free course
Beginner
7 lessons
2 hours
Tackling System Design Interview Problems

A short course that equips you with the skills to approach system design interviews methodically.

Start the free course
Basis Lab
No course covers this one yet

Basis Lab writes one for you from a sentence about what you want to be able to do, then teaches it and checks you understood. Your first course is free.

Build my course
Data Structures & Algorithms practice on Codemia

Step through 300+ coding interview problems with animated visualisers that show the data structure changing as the code runs. The Blind 75 are free.

Practice algorithms