iOS Splash screen not working on latest build

On config, having below settings for the splashscreen, but splash screen not shown. Before it was working, having problem after xocde 16 update

  • “Why isn’t Assets.car being generated with splash screens?”
  • “Are there additional settings required for iOS splash screens?”
<plugin name="cordova-plugin-splashscreen" source="npm" spec="^6.0.2"/>
	<preference name="SplashScreen" value="screen" />
	<preference name="SplashScreenDelay" value="2000" />
	<preference name="FadeSplashScreenDuration" value="500" />
	<preference name="AutoHideSplashScreen" value="true" />
	<preference name="ShowSplashScreenSpinner" value="false" />
	<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />

<!-- iPhone and iPod touch -->
			<splash src="resources/ios/splashscreen/Default.png" width="320" height="480" />
			<splash src="resources/ios/splashscreen/Default@2x.png" width="640" height="960" />

			<!-- iPhone 5 / iPod Touch (5th Generation) -->
			<splash src="resources/ios/splashscreen/Default-568h@2x.png" width="640" height="1136" />

			<!-- iPhone 6 -->
			<splash src="resources/ios/splashscreen/Default-667h@2x.png" width="750" height="1334" />
			<splash src="resources/ios/splashscreen/Default-Landscape-667h.png" width="1334" height="750" />
			<splash src="resources/ios/splashscreen/Default-Portrait-736h@3x.png" width="1242" height="2208" />
			<splash src="resources/ios/splashscreen/Default-Landscape-736h@3x.png" width="2208" height="1242" />

			<!-- iPad -->
			<splash src="resources/ios/splashscreen/Default-Portrait.png" width="768" height="1024" />
			<splash src="resources/ios/splashscreen/Default-Landscape.png" width="1024" height="768" />

			<!-- Retina iPad -->
			<splash src="resources/ios/splashscreen/Default-Portrait@2x.png" width="1536" height="2048" />
			<splash src="resources/ios/splashscreen/Default-Landscape@2x.png" width="2048" height="1536" />

			<!-- iPhone X & above -->
			<splash src="resources/ios/splashscreen/Default-Portrait@3x~iphone.png" width="1125" height="2436"/>
			<splash src="resources/ios/splashscreen/Default-Landscape@3x~iphone.png" width="2436" height="1125"/>
			
			<splash src="resources/ios/splashscreen/Default-Square-2208.png" width="2208" height="2208" />
			<splash src="resources/ios/splashscreen/Default-Square-2732.png" width="2732" height="2732" />		
			<splash src="resources/ios/splashscreen/Default-Portait-1278-2732.png" width="1278" height="2732" />

This issue fixed by below on config

<plugin name="cordova-plugin-splashscreen" source="npm" spec="^6.0.2"/> 

<preference name="SplashScreen" value="LaunchImage" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="AutoHideSplashScreen" value="false" /> 
<preference name="FadeSplashScreen" value="true" /> 
<preference name="FadeSplashScreenDuration" value="500" /> 
<preference name="ShowSplashScreenSpinner" value="false" /> 
<preference name="GapBetweenPages" value="0" />
<preference name="PageTransition" value="none" />
<preference name="DisallowOverscroll" value="true" />

<splash src="resources/ios/splashscreen/Default@2x~universal~anyany.png" />

That did not work for me as of today for ios 7.1.1 and deployment-target 13

In config.xml

I used a 2732x2732 PNG with background and lots of space around the image to cater for old phones

(Thanks, Claude AI)

Are you seeing any errors in your log?

Works fine with the config lines I posted (always confusing to post code here, as it looks fine when previewed but then does not show)

(Reposting code so it can be useful for people with the same need)

<preference name="LegacySplashScreen" value="true" />
<preference name="UseModernSplashScreen" value="false" />
<splash src="resources/ios/splash/Default@2x~universal~anyany.png" />

Oh, so you posted a fix!

This forum uses markdown. You can either use the editing toolbar or use three backticks to include code - like this:

```
This is my code.
```