Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What can I do to prevent iPhone 4 from cutting off my title when adding to home screen?

I have long web page title and when adding to home screen in iPhone older versions the whole title is visible in the confirmation dialog. When I add to home screen in iPhone 4 the title is cut off after the 12th symbol. Is there a way to stop this cutting so iPhone is showing the full title by default?

like image 508
Phil Avatar asked Feb 03 '11 08:02

Phil


2 Answers

Apparently there will be a undocumented meta tag

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

in iOS 6 to solve that issue.

like image 98
Daniel Herzog Avatar answered Oct 11 '22 05:10

Daniel Herzog


No, there is no way to prevent that. Application names on the home screen are limited to a maximum of 12 characters. Anything beyond that will be truncated by placing an ellipsis in the middle of the name.

You will need to keep the title of your website under 13 characters on the iPhone if you want to prevent it from being cut off. See the other answers for possible ways of doing that.

Update: As of iOS 6, you can use a meta tag to set the name of your application as displayed on the home screen. Full details and instructions are available here.

like image 23
Cody Gray Avatar answered Oct 11 '22 05:10

Cody Gray