0

I want to run a piece of javascript code when apple touch icon/home screen icon of my web app is clicked ,how can i get the click event for this? Thanks

1 Answers1

0

Are you really looking for an event? Or do you want to know if your web page was loaded though an apple touch icon click or regular browsing?

In the later case, your question was already asked:

However, I was not able to use the window.navigator.standalone technique described in the answers. You should study this carefully.

Community
  • 1
  • 1
philippe_b
  • 38,730
  • 7
  • 57
  • 59