DRK1004 edited a comment on issue #231: Getting blank white screen when using 
Single storyboard image on Iphone X 11.0.1 simulator 
URL: 
https://github.com/apache/cordova-plugin-splashscreen/issues/231#issuecomment-577988248
 
 
   Even I have observed this on some devices like iphone6 (even with the sample 
Cordova App). Seems single splash screen is not working. You might have to 
provide minimum 6 images like:
   ```
       <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
       <splash src="res/screen/ios/Default@2x~universal~comany.png" />
       <splash src="res/screen/ios/Default@2x~universal~comcom.png" />
       <splash src="res/screen/ios/Default@3x~universal~anyany.png" />
       <splash src="res/screen/ios/Default@3x~universal~anycom.png" />
       <splash src="res/screen/ios/Default@3x~universal~comany.png" />
   ```
   Be sure to test on all devices as in my case this worked on iPhone 6 but it 
created new issue on other devices. On few devices splash screen was resizing 
or readjusting automatically. To resolve this I finally have to remove 
universal version of images and add images based on device type like:
   ```
   <splash src="res/screen/ios/Default@2x~iphone~anyany.png" />
   <splash src="res/screen/ios/Default@3x~iphone~anyany.png" />
   <splash src="res/screen/ios/Default@2x~ipad~anyany.png" />
   ```
   
   I am still investigating the root cause for resizing of splash screen but 
could not make whether it is from Apple or from Splash screen plugin (plugin 
method updateBounds is called twice) . 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to