matictrebusak commented on issue #1401:
URL: https://github.com/apache/cordova-ios/issues/1401#issuecomment-2095836092

   I experienced this issue as well. I was getting two different splashes, 
first is native ios and then cordova splash, which did not scale and was shown 
as logo being off-center. Solution for me was:
   
   1. (may be optional) Add "Default@3x~universal~anyany.png" (2208x2208) as 
well to config.xml and resource folder. This asset should be smaller then @2x 
as referenced in cordova docs. If it uses 2x (2732X2732), which worked ok in 
cordova-ios@6+, it is actually too big , and you experience first black screen 
and then white screen because splash screen is not appropriately read.  So my 
config for ios splash is: 
   `<splash src="resources/ios/splash/Default@2x~universal~anyany.png"/>
   <splash src="resources/ios/splash/Default@3x~universal~anyany.png"/>`
   2. (needed) I found a fork in which a feature for rotating splash screens is 
reverted (was introduced in 7.0.0 I think) 
https://github.com/jessyefuster/cordova-ios/commits/7.1.1
   
   I imagine this will be merged soon to main project and everything will be 
well again. Hope it helps someone in the meanwhile as I was stuck with this for 
one week.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to