Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to have a custom URL for an icon on the iOS home screen

Is it possible to make a custom URL for an icon on the iOS home screen? Or at least have a way for the user to edit the URL themselves?

UPDATE: To be more specific, here's what the client said:

"Because of our use of authentication, the URL of the landing page that [website] takes you to changes to a long URL with a session ID. Right now, when I use the Add to Home Screen function, it associates the icon with the long URL which, because of the session ID, won't work after a couple of days. Is there any way to change the URL to [website] (our stable and persistent URL) after or before the Add to home screen function is invoked"

Also, the website isn't a web app, so I'm not sure if web app things would apply here.....?

like image 971
kaeruranawa Avatar asked Apr 08 '13 15:04

kaeruranawa


People also ask

How do I make a URL an app on my iPhone?

In order for the shortcut to be an option, you need to use Safari to pull up the site. At the bottom of the Safari browser, find and tap on the share icon on the menu bar – it looks like a box with an up arrow. From the list of share options, choose Add to Home Screen. An app-looking icon will pre-populate.


2 Answers

I just tried this on the iPhone 6.

  1. Go to Settings and turn Airplane Mode to ON
  2. Go to Safari and type in the address you want to have an icon for
  3. Click Go. The page will fail to load, but the address will stay the same.
  4. Click the AirDrop icon next to the URL entry bar (landscape mode) and click the + button.
  5. Change the name of the site to whatever you want the icon caption to be
  6. Go to Settings and turn Airplane Mode to OFF
like image 55
bcampolo Avatar answered Oct 20 '22 03:10

bcampolo


bcampolo’s solution worked on my 8 plus ios 14.5. I had to tweak it a bit & didn’t use airdrop. I turned on airplane mode. Pasted the URL in safari - hit go - (didn’t load obviously) then hit the share icon (up arrow w/square) - add to Home Screen - (and now the URL is the correct one instead of defaulting to the websites main page) erased the title “cant load page” (said something to that affect) typed in title of the icon I wanted - at this point icon thumbnail is white - Turned airplane mode off - hit the Home Screen icon I just made…. And it works!!! It even changed the icon’s pic from white/blank to the website’s correct image/thumbnail.

like image 24
Laura Bushnell Avatar answered Oct 20 '22 05:10

Laura Bushnell