You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/08/17 18:02:07 UTC

[GitHub] [cordova-ios] Mehditeranee edited a comment on issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

Mehditeranee edited a comment on issue #968:
URL: https://github.com/apache/cordova-ios/issues/968#issuecomment-675026927


   After some tests, and after executing what I suggested, i solve my issue (partly).
   
   Indeed, I use the "Storyboard" method instead of "Legacy" method and I checked the behavior.
   
   More precisely:
   
   - I commented out all lines of "Legacy" method in my config.xml
   ```
   <!-- <splash height="480" src="res/screen/ios/Default~iphone.png" width="320" />
           <splash height="960" src="res/screen/ios/Default@2x~iphone.png" width="640" />
           <splash height="1024" src="res/screen/ios/Default-Portrait~ipad.png" width="768" />
           <splash height="2048" src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
           <splash height="768" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
           <splash height="1536" src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
           <splash height="1136" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
           <splash height="1334" src="res/screen/ios/Default-667h.png" width="750" />
           <splash height="2208" src="res/screen/ios/Default-736h.png" width="1242" />
           <splash height="1242" src="res/screen/ios/Default-landscape-736h.png" width="2208" />
           <splash height="2436" src="res/screen/ios/Default-Portrait-2436h@3x.png" width="1125" />
           <splash height="2688" src="res/screen/ios/Default-Portrait-2688h@3x.png" width="1242" />
           <splash height="1792" src="res/screen/ios/Default-Portrait-1792h@2x.png" width="828" /> -->
   ```
   
   - I added a line as "Storyboard" method in my config.xml to replace the lines above
   <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
   The width and height of the image is 2732 x 2732 as described here: https://community.adobe.com/t5/phonegap-build/storyboard-splashscreen-not-working/td-p/9732197?page=1
   
   - I built my project for ios and I launched the emulator to check the result
   ```
   cordova build ios
   cordova emulate ios
   ```
   
   And Voila!, the splashscreen is well displayed but not with the good proportion for the emulator device is used...
   
   In conclusion, cordova-ios 6.1.0 support the splashscreen but only with the "Storyboard" method. The "Legacy" one is not.


----------------------------------------------------------------
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:
users@infra.apache.org



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