iOS - Safari currently doesn't support a Web app install banner, like in Android - Chrome.

There is no way to programmatically trigger install banner in Android as well, except for the case when you catch the beforeInstallPrompt and use that to show the banner.

In the linked answer, you can check on the alternate option on how to show in app banner to guide user to add to home screen. Here is some code example for the same, which is iOS specific (look under #PROTIP 3).

Answer from Anand on Stack Overflow
🌐
web.dev
web.dev › learn › pwa › installation-prompt
Installation prompt | web.dev
The PWA is not installable on the current device for other reasons (for example, a device in kiosk mode or without permissions). Chrome and Edge on iOS and iPadOS do not support PWA installation, so the beforeinstallprompt event can't fire.
🌐
Reddit
reddit.com › r/sveltejs › building a pwa but it’s not prompting ios browsers to install your app?
r/sveltejs on Reddit: Building a PWA but it’s not prompting iOS browsers to install your app?
October 15, 2023 -

I ported the mildly popular react-ios-pwa-prompt into svelte, and creatvely called it svelte-ios-pwa-prompt.

Basically you import this component into your +page.svelte or +layout.svelte and it will magically show a prompt to tell users the steps to add you app to their home screen. Customizable on how many visits before you want it to show and how many times you want it to show up.

🌐
Wick
blog.wick.technology › pwa-install-prompt
Prompt to install a PWA on iOS and Android with React Hooks | Wick Technology Blog
This post will show you how to prompt your users to install your progressive web app (PWA) using React Hooks.
🌐
GitHub
github.com › JacobDB › pwa-install-prompt
GitHub - JacobDB/pwa-install-prompt: Prompt users to add your PWA to their home screen, since Apple won’t.
By default, this module checks if the user has not visited the site before, or if the last time they visited the site was more than 90 days ago, and if they are using iOS. If all conditions are met, then the prompt is shown. The conditions that get checked can be overridden in order to use this prompt for custom scenarios. ... import pwaInstallPrompt from "pwa-install-prompt"; new pwaInstallPrompt(".pwa-install-prompt__container", { active_class: "is-active", closer: ".pwa-install-prompt__overlay", condition: null, expires: 180, show_after: 90, on: { beforeOpen: function () { console.log("before open!"); }, afterOpen: function () { console.log("after open!"); }, beforeClose: function () { console.log("before close!"); }, afterClose: function () { console.log("after close!"); }, } });
Starred by 132 users
Forked by 5 users
Languages   JavaScript 60.6% | CSS 39.4%
🌐
Medium
medium.com › ngconf › installing-your-pwa-on-ios-d1c497968e62
Installing Your PWA on iOS. The @angular/pwa package is a great way… | by Preston Lamb | ngconf | Medium
January 19, 2023 - The @angular/pwa package makes it really easy to add PWA functionality to your application. But without a little work on your own your iOS users will never be prompted to install the app and may not do it on their own. Hopefully in the future iOS devices and browsers have better PWA support and these steps will not be necessary.
🌐
Reddit
reddit.com › r/pwa › pwa install prompt woes on iphone
PWA Install Prompt Woes on iPhone : r/PWA
March 27, 2025 - ... Why not React Native? Just learning on my end. Continue this thread ... I found this today - https://github.com/vercel/next.js/issues/70272 - reasons for deprecation of the "apple-mobile-web-app-capable" meta-tag. PWA Install Dialog Now Supports Apple’s iOS/iPadOS/MacOS 26
🌐
GitHub
github.com › ryxxn › pwa-install-prompt
GitHub - ryxxn/pwa-install-prompt: Easily Add a PWA Installation Popup with Just One Script!
<script async id="wepp-install-modal" ... displayed. For iOS users, instead of an install button, the modal will show instructions on how to add the app to the home screen....
Starred by 20 users
Forked by 2 users
Languages   JavaScript
Find elsewhere
🌐
Mozilla
developer.mozilla.org › en-US › docs › Web › Progressive_web_apps › Guides › Making_PWAs_installable
Making PWAs installable - Progressive web apps | MDN
This technique relies on the beforeinstallprompt event, which is fired on the global Window object as soon as the browser has determined that the PWA is installable. This event has a prompt() method that shows the install prompt. So a PWA can: ... This is not supported on iOS.
🌐
web.dev
web.dev › learn › pwa › installation
Installation | web.dev
A browser prompt to install your PWA doesn't exist On iOS and iPadOS. On these platforms PWAs are also known as home screen web apps. These apps have to be added manually to the home screen via a browser share menu.
🌐
npm
npmjs.com › package › react-ios-pwa-prompt
react-ios-pwa-prompt - npm
Latest version: 2.0.6, last published: a year ago. Start using react-ios-pwa-prompt in your project by running `npm i react-ios-pwa-prompt`. There are 11 other projects in the npm registry ...
      » npm install react-ios-pwa-prompt
    
Published   Jul 22, 2024
Version   2.0.6
Author   @chrisdancee
🌐
Apple Developer
developer.apple.com › forums › thread › 683266
How can a user install PWA from Mo… | Apple Developer Forums
There isn't an official and automatic prompt to install the pwa or get instructions, for a my project I made a react prompt that work good At moment this is the solution
🌐
DockYard
dockyard.com › blog › 2017 › 09 › 27 › encouraging-pwa-installation-on-ios
Encouraging iOS users to install your Progressive Web Apps in Ember - DockYard
September 27, 2017 - It’s no secret that we see the value in PWAs and the business problems they can solve. However, we still have one hurdle to overcome with adoption: iOS. If you use an Android device, you have probably noticed that PWAs automatically prompt you to add the application to your homescreen but iOS still doesn’t do this.
🌐
GitHub
github.com › khmyznikov › pwa-install
GitHub - khmyznikov/pwa-install: Installation dialog for Progressive Web Application. Provides a more convenient user experience and fixes the lack of native dialogs in some browsers.
<pwa-install manual-apple="true" manual-chrome="true" disable-chrome="true" disable-close="true" use-local-storage="true" install-description="Custom call to install text" disable-install-description="true" disable-screenshots="true" disable-screenshots-apple="true" disable-screenshots-chrome="true" disable-android-fallback="true" manifest-url="/manifest.json" name="PWA" description="Progressive web application" icon="/icon.png"> </pwa-install> <!-- manual-apple/chrome params means you want to show the Dialog manually by showDialog(). disable-chrome param is for completely disabling custom log
Starred by 719 users
Forked by 110 users
Languages   TypeScript 62.0% | SCSS 29.9% | JavaScript 8.1%
🌐
GitHub
github.com › chrisdancee › react-ios-pwa-prompt
GitHub - chrisdancee/react-ios-pwa-prompt: A native styled 'Add to Home Screen' React component for PWAs on iOS
A React component that provides a customisable Progressive Web App (PWA) prompt telling the user to 'Add to Home Screen'. The prompt behaviour is baked in to Android devices, yet iOS is still lagging behind.
Starred by 194 users
Forked by 40 users
Languages   TypeScript 73.0% | CSS 23.7% | JavaScript 1.8% | HTML 1.5%
🌐
pwa-install-prompt
jacobdb.github.io › pwa-install-prompt
PWA Install Prompt | pwa-install-prompt
By default, this module checks if the user has not visited the site before, or if the last time they visited the site was more than 90 days ago, and if they are using iOS. If all conditions are met, then the prompt is shown. The conditions that get checked can be overridden in order to use this prompt for custom scenarios. ... import pwaInstallPrompt from "pwa-install-prompt"; new pwaInstallPrompt(".pwa-install-prompt__container", { active_class: "is-active", closer: ".pwa-install-prompt__overlay", condition: null, expires: 180, show_after: 90, on: { beforeOpen: function () { console.log("before open!"); }, afterOpen: function () { console.log("after open!"); }, beforeClose: function () { console.log("before close!"); }, afterClose: function () { console.log("after close!"); }, } });
🌐
WeWeb Community
community.weweb.io › ask us anything
Install pwa from a button - Ask us anything - WeWeb Community
December 27, 2023 - How do we programmatically ask user to add weweb PWA app into user’s home screen from a button ? what i already did was adding a custom javascript on button on click but it didnt work on android and iOS let deferredPrompt; // Function to handle installation when the button is clicked function installPWA() { if (deferredPrompt) { // Show the install prompt deferredPrompt.prompt(); // Wait for the user to respond to the prompt deferredPrompt.userChoice.then((choiceResult) =>...
🌐
WesionaryTEAM
articles.wesionary.team › prompt-installation-in-pwa-is-a-nightmare-unless-you-know-this-36cb0005e2b2
Prompt installation in PWA is a nightmare unless you know this. | by Dibesh Raj Subedi | wesionaryTEAM
October 18, 2023 - Using this file we would be able to detect if the PWA is installed, whether the device we are using is mobile, and whether it’s an IOS device or not. Join Medium for free to get updates from this writer. ... 5. Now let's create UI for our installation prompt.
🌐
Medium
medium.com › swlh › a-simple-react-hook-to-prompt-ios-users-to-install-your-wonderful-pwa-4cc06e7f31fa
A Simple React Hook to Prompt iOS Users to Install Your Wonderful PWA. | by Michael Lisboa | The Startup | Medium
January 13, 2020 - Once I did that, the next obvious step was to make it an installable PWA, because the future of mobile apps is just a simple matter of adding a site manifest and some icons. ... Although recent versions of iOS have better support for PWA’s, there’s still no built in prompt for users to install the app, as is present on Android.
🌐
FlutterFlow
community.flutterflow.io › actions-logic › post › add-install-app-advice-on-pwa-ios-bPK0EGbU3Eq8YiH
Add Install App advice on PWA iOS
September 11, 2023 - In my FlutterFlow project, I'm looking to implement the feature that iOS users when logging into the PWA, they get the little "Install app" prompt via "share > add home".