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

前端 未结 4 1709
别跟我提以往
别跟我提以往 2021-02-20 16:59

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 t

4条回答
  •  一向
    一向 (楼主)
    2021-02-20 17:58

    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.

提交回复
热议问题