How to approach iOS web clip app "download"?
Posted
by
Ryan
on Programmers
See other posts from Programmers
or by Ryan
Published on 2012-11-04T18:07:48Z
Indexed on
2012/11/04
23:16 UTC
Read the original article
Hit count: 263
web-applications
|ios
We have our main site at:
http://mysite.com
which we don't want to alter. Then we have our web clip app at:
http://mysite.com/app/
If someone visits the app URL in normal Safari then the Safari UI will still display. But if the user adds the app URL to their home screen, and then they tap that icon they will launch the app URL without the Safari UI as intended.
My question is how do you go about getting the user to use the web clip app from their home screen when they start from mysite.com? What I'm thinking is that we have a link on mysite.com that points to mysite.com/app/. Then when they click that /app/ link they'll go to the app but it won't be in "app mode". Can I detect that it's not in app mode and display a message like "add this page to your home screen to use the app"? And then when they do visit in app mode obviously just let the app run.
© Programmers or respective owner