Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting "Home Screen" icon name for mobile Safari

By default, when "bookmarking" a website as an icon (by choosing to Add to Home Screen from within Safari's "+" menu), the icon name defaults to the page's <title>, truncated to 12 characters.

In much the same way that apple-touch-icon lets you specify your own iconified representation of the page, is there a way for the webpage to specify a default icon name other than its <title>?

like image 247
pilcrow Avatar asked Aug 03 '10 21:08

pilcrow


People also ask

How do I change my bookmark name on Home Screen?

The easiest way is probably by bookmarking the page you are wishing to have the icon for and then changing the name of the bookmark by long pressing, then long press again to add it to your screen.

How do I change the name of a website on my iPhone Home Screen?

Launch Safari on your ‌iPhone‌ or ‌iPad‌. Navigate to the site that you want to create a Home screen shortcut to. Tap the Share icon (the square with an arrow pointing out of it) at the bottom of the screen. Scroll down to the list of actions and tap Add to Home Screen.


1 Answers

In iOS 6 this is solved with a meta tag:

<meta name="apple-mobile-web-app-title" content="Short name"> 

As cwap rightly commented: It's now official documentation. Here's all the info on setting meta tags for web apps: https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html

like image 165
Maarten Wolzak Avatar answered Oct 01 '22 09:10

Maarten Wolzak