Dual ion screensaver in iPhone X

I have a problem with apache cordova (with ionic 3), this problem only happens on iphone X.

When the application starts, it displays a screen with a default fill (for example, scaled):

enter image description here

And after a few milliseconds, this "default screensaver" is replaced with the correct one (the surge that I created for the application).

These are my bursts:

    <splash src="resources/ios/splash/Default@2x~iphone.png" />
    <splash src="resources/ios/splash/Default@2x~universal~anyany.png" />
    <splash src="resources/ios/splash/Default-568h@2x~iphone.png" />
    <splash src="resources/ios/splash/Default-667h.png" />
    <splash src="resources/ios/splash/Default-736h.png" />
    <splash src="resources/ios/splash/Default-Landscape@2x~ipad.png" />
    <splash src="resources/ios/splash/Default-Landscape@~ipadpro.png" />
    <splash src="resources/ios/splash/Default-Landscape-736h.png" />
    <splash src="resources/ios/splash/Default-Landscape~ipad.png" />
    <splash src="resources/ios/splash/Default-Portrait@2x~ipad.png" />
    <splash src="resources/ios/splash/Default-Portrait@~ipadpro.png" />
    <splash src="resources/ios/splash/Default-Portrait~ipad.png" />
    <splash src="resources/ios/splash/Default~iphone.png" />

I also tried changing the startup screen file (also checking the standard CDVLaunchScreen), and I can not find the links to this default ionic screen saver, how can I find where this "image" or something else, or find a solution

thank

+4
source share
2 answers

, Cordova iPhone X, , .

, , , resources/ios/splash/ .

-, , cordova-ios cordova-plugin-splashscreen, , iPhone X.

, - LaunchStoryboard . iOS , legacy Launch Images, - a .

+1

, .

Xcode iphoneX 1125 × 2436 px ( ) → Resources- > images.xassests, LaunchImages, .

xcode screenshot

+1

Source: https://habr.com/ru/post/1689860/


All Articles