How do I disable "add to home screen" pwa on iPhone/Safari? - ios

The picture below gives you a clearer view. I need to remove that option to add to home screen on my website and I need to disable it.

Related

What is the name of the fuctionality that makes some options appear after long pressing an app logo on ios home page?

I have tried to find the official name of this functionality however could not.
Thanks
Home Screen Quick Actions
Home screen quick actions are a convenient way to perform useful, app-specific actions right from the Home screen. People can get a menu of available quick actions when they touch and hold an app icon (on a 3D Touch device, people can press briefly on the icon to see the menu).
https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/home-screen-actions/

Can an iOS app add a website shortcut to the Home Screen?

Could a button in an iOS app trigger a process to add a website shortcut to the device Home Screen?
For example company A releases an app through the App Store. This contains a button to add a shortcut to company A's website on the Home Screen of the phone or tablet.
Cheers.
I was looking to achieve something similar once & I am pretty sure it cannot be done -- iOS simply won't allow it.
You have 3 options for your button action --
Present UIActivityViewController with your website Url (it will the have option to "Add to Reading List", but it won't have "Add to Home Screen")
Present SFSafariViewController with the website Url, you can open an alert view to tell the user to add to bookmarks perhaps. (it will the have option to "Add to Reading List" & "Add to Bookmarks", but it won't have "Add to Home Screen")
Launch Safari & open the website with some parameter triggered javascript code to tell the user to select "Add to Home Screen".
None of them come close to what you want and are not particularly elegant. But I don't see any other way.
(In our case, we just went with launching the Safari)
Here's an old link I found, not much has changed --
iPhone SDK - Add a "Add to Home Screen" button in a UIWebView

Chrome continuously showing add to home screen bar

I enabled pwa on my website and now chrome is showing add to home screen prompt and it is ok. Now i added my site to home screen through prompt and reloaded my website but chrome is still showing add to home screen even i added to my home screen. Ideally chrome should not show up add to home screen prompt if user added to his home screen. I think i am missing something on coding side.

Adding a button to user home screen

I would like to ask if there is a possibility to add button into user homescreen. Let's assume I have an app, when user do something with app I want to add a button into user homescreen. I'm thinking about something similar to "Add to Home Screen" from Safari app.
You can add web link icon on home screen, and no way you can add some buttons with custom actions on home screen. Every "button" is application or link icon and nothing more

How to disable lock the Home button in iOS 7

How can I lock the home button in iOS 7 ?
I have 10 text fields and a submit button in a view. While I'm filling the text fields, the home button should be disabled.
Only after filling all the text fields, should the home button be again enabled.
Please let me know anybody, how to achieve this.
Thanks in advance.
Disabling the Home button using your app is not possible but you can use Guided Access to block the Home button, but this is something the users will have to do. I don't think there's an API to do it within an app.
From Apple:
Guided Access helps students with disabilities such as autism remain
on task and focused on content. It allows a parent, teacher, or
administrator to limit an iOS device to one app by disabling the Home
button, as well as restrict touch input on certain areas of the
screen.

Resources