PWA splash screen fades to black?

General Tech Bugs & Fixes 3 years ago

4.9K 2 0 0 0

User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 3 years ago

On iPhone iOS 11.4, when tapping a PWA icon from the home screen, it shows a splash screen, goes to black, then back to the splash screen. Not sure why it goes to black, but it can be seen in the PWA example here:

Online demo: https://pwa-splash.now.sh

Github repo: https://github.com/applification/pwa-splash-screens

Source code of demo: https://github.com/applification/pwa-splash-screens/blob/master/index.html

Simply open the online demo link on your phone, add it to your home screen, and click the PWA app icon from your home screen to see the issue with the splash screen.

Any idea how to eliminate the black (so it’s just the splash screen)?

0 views
0 shares

profilepic.png
manpreet 3 years ago

I've tested in iOS 11.4 (iPhone x resolution) and all I saw was the default white splash screen and not the image which is linked via "apple-touch-startup-image".

In the code, I did not see any resolution supporting iPhone X's(2436-by-1125) which answered the behavior.

Please refer this answer to support more higher resolution to make it work in your resolution and all possible iOS devices.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Similar Forum