添加到主屏幕后,如何防止iPhone 4切断标题? [英] What can I do to prevent iPhone 4 from cutting off my title when adding to home screen?

查看:149
本文介绍了添加到主屏幕后,如何防止iPhone 4切断标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很长的网页标题,当在iPhone旧版本中添加到主屏幕时,整个标题在确认对话框中可见。当我在iPhone 4中添加到主屏幕时,标题在第12个符号后被切断。有没有办法阻止这种切割,所以iPhone默认显示完整的标题?

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?

推荐答案

不,有无法阻止这种情况。主屏幕上的应用程序名称限制为最多12个字符。除此之外的任何内容都会通过在名称中间放置省略号来截断。

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.

您需要在下保留您网站的标题 iPhone上有13个字符,如果你想防止它被切断。请参阅其他答案,了解可行的方法。

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.

更新:从iOS 6开始,您可以使用元标记来设置名称您的应用程序显示在主屏幕上。有关详细信息和说明,请访问此处

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.

这篇关于添加到主屏幕后,如何防止iPhone 4切断标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆