Dark Mode Splash Screens on iOS and Android
Verified againstApple HIG: Launching,Android splash screens,Apple: UILaunchScreen UIColorName,Apple: Supporting Dark Mode in your interface,Android: Providing alternative resources,flutter_native_splash on pub.dev,expo-splash-screen on npmon November 4, 2026.
A launch screen that ignores dark mode flashes a white frame at someone who has their phone set to dark, right before your dark UI appears. Both platforms resolve the launch screen from resources with light and dark variants, so the fix is to supply a dark background color and, if your logo needs it, a dark version of the logo. Apple's guidance is explicit: the launch screen should match the device's current appearance mode.
iOS: named colors with a dark appearance
iOS picks launch screen colors and images from your asset catalog, and catalog assets can carry an appearance variant. In Xcode, add a Color Set, set Appearances to Any, Dark in the Attributes inspector, and give each slot a value. The Any value is the one used where dark mode is not available. Do the same on an Image Set if the logo needs a dark version.
Then point the launch screen at those names. With the UILaunchScreen Info.plist key, UIColorName takes the name of a color in your asset catalog and UIImageName the name of an image:
<key>UILaunchScreen</key>
<dict>
<key>UIColorName</key>
<string>LaunchBackground</string>
<key>UIImageName</key>
<string>LaunchLogo</string>
</dict>If you leave UIColorName out, Apple's documentation says the system uses systemBackground, which already switches between light and dark. That is a reasonable default only if your first screen also uses systemBackground. With a launch storyboard, set the root view's background to the same named color instead of a fixed RGB value; a fixed value does not adapt.
Android: values-night
Android's splash screen docs note that each element has light and dark theme versions, and the background must be a single opaque color. The simplest way to get both is a color resource defined twice, once in values and once in values-night, referenced from the splash theme:
<!-- res/values/colors.xml -->
<color name="splash_background">#FFFFFF</color>
<!-- res/values-night/colors.xml -->
<color name="splash_background">#0F0F11</color>
<!-- res/values/themes.xml -->
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/splash_background</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
<item name="postSplashScreenTheme">@style/Theme.App</item>
</style>The icon works the same way: put a dark-friendly version of splash_icon in drawable-night. If the icon still lacks contrast against the dark background, the compat library's Theme.SplashScreen.IconBackground parent adds windowSplashScreenIconBackground, a solid disc behind the icon, which can also take a night color. Android's resource docs advise keeping a default in plain values or drawable and only overriding in the night folder. The Android 12 splash screen guide covers the rest of the theme.
Flutter and Expo
Flutter with flutter_native_splash (2.4.8 on pub.dev today): add _dark keys next to the light ones. The android_12 section is separate because Android 12 and later ignore the top-level settings, so it needs its own dark keys. Regenerate with dart run flutter_native_splash:create.
flutter_native_splash:
color: "#FFFFFF"
color_dark: "#0F0F11"
image: assets/splash.png
image_dark: assets/splash-dark.png
android_12:
color: "#FFFFFF"
color_dark: "#0F0F11"
image: assets/splash-icon.png
image_dark: assets/splash-icon-dark.png
icon_background_color_dark: "#1A1A2E"Expo with expo-splash-screen (58.0.13 on npm today): the config plugin accepts a dark object holding its own backgroundColor and image. On Android the plugin writes the dark image to drawable-night folders. Per-platform android and ios blocks can each carry their own dark too.
{
"expo": {
"plugins": [
[
"expo-splash-screen",
{
"backgroundColor": "#FFFFFF",
"image": "./assets/splash-icon.png",
"imageWidth": 200,
"dark": {
"backgroundColor": "#0F0F11",
"image": "./assets/splash-icon-dark.png"
}
}
]
]
}
}Full setups are in the Flutter and Expo guides.
Icon contrast on both backgrounds
- Test the logo on both colors before anything else. A navy or black mark that looks crisp on white disappears on a near-black background. A white mark does the opposite.
- Swap the logo, not just the background, when one version cannot work on both. A light outline or an inverted variant for the dark image slot is normal.
- Match your app's dark first screen exactly. Whatever dark value you pick,
#0F0F11,#000000or a brand tone, use the same hex in the launch screen and in your first screen's dark theme, or the handoff will flash. - Use the Android icon background when the mark has thin parts. It gives a fixed backing color that does not depend on the window background.
- Keep text off the launch screen. Apple asks for this regardless of mode, because launch screen text is never localized, and it saves you making a dark version of it.
Exporting both variants from the generator
The Splash Screen Generator renders on one background per export, so make the dark variant a second pass. Its background presets include white (#FFFFFF) and a near-black (#0F0F11), plus four darker tones: #1A1A2E, #1B4332, #2D1B69 and #7C1C1C. Export once on white, swap the background (and the logo, if you have a dark version), export again. Signed in, the editor also takes any custom color, so you can match the exact hex in your values-night file or dark Color Set.
The two PNGs are full-screen frames, so use them where a full-screen image belongs: as the light and dark first frames of an in-app splash, or in drawable and drawable-night for a full-bleed splash before Android 12. The iOS Any and Dark image slots and the Android 12 icon want the logo alone, so export your transparent logo for those. Which sizes go where is on the splash screen sizes reference.
Export a light and a dark splash
Render your logo on a white and a near-black background and download both PNGs. Processing runs in your browser.
Related
Frequently asked questions
Why is my iOS launch screen still white in dark mode?
Usually the background is a fixed RGB value instead of a named color with a Dark variant, or `UIColorName` points at a color set whose Appearances are still set to None. Fixed colors do not adapt to the interface style.
Can the Android 12 splash screen follow the system dark theme?
Yes. Android documents light and dark theme versions for each splash element, and the compat library supports day and night. Define the background color and icon in night-qualified resources and the system picks them when dark theme is on.
Should the splash follow the system or my app's own theme setting?
The launch screen can only follow the system, because it is drawn before your code runs. If your app has an in-app theme override, expect a mismatch on launch for users whose choice differs from the system setting.
Do I need a separate dark logo?
Only if the logo fails contrast on the dark background. Many marks work on both with no change; check yours side by side on the two backgrounds before making a second asset.