Saturday, September 19, 2020

Allow iOS fullscreen PWA by adding option for display: "standalone" in web app manifest.

This allows iOS to save the homescreen PWA as a fullscreen 'app'. Outbound link issues easily fixed with some extra JavaScript which I have been running with much success for the last year using a different homescreen add-on.

This opens all links apart from those marked target _blank (most external ones) to open within the same fullscreen view. The blank external links are opened in a safari view modal.

JavaScript:

Code:
var a=document.getElementsByTagName("a");
for(var...

Read more


source https://xfworld.net/threads/allow-ios-fullscreen-pwa-by-adding-option-for-display-standalone-in-web-app-manifest.47806/

No comments:

Post a Comment