I think it's possible to add that into the app's HTML file, however, what about the answer to the StackOverflow question?
FYI, when testing my PWA on localhost with a dummy SSL certificate, Safari won't use the icon when adding to homescreen. Instead it takes a screenshot of the page as the icon. Once the PWA was uploaded to the live server, with full HTTPS, the icon worked fine. Testing on iOS11.3, iPad 6th gen
Maybe the above fix the issue? Or maybe the this other answer too:
TerPro's answer is correct but as a fallback you can put a file named "/apple-touch-icon.png" in the root directory.
And you see it working properly? Also in other iOS versions? If so... there is not a problem to automatically add such piece of code in the app's HTML.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses cookies only to store your preferences.