V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
jerain
V2EX  ›  问与答

手机浏览器中将一个网页 “添加到主屏幕”,如何指定图标?

  •  
  •   jerain · 2015-12-07 14:50:56 +08:00 · 3327 次点击
    这是一个创建于 3056 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我记得几年以前 @livid 提供过方法,没搜到
    上面的问题不仅对 iOS ,希望 Android 下也有效 ... 请有办法的同学帮忙 :)
    1 条回复    2015-12-07 15:41:24 +08:00
    coraline
        1
    coraline  
       2015-12-07 15:41:24 +08:00   ❤️ 1
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://guo.lu/wp-content/themes/Diaspora/static/144.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://guo.lu/wp-content/themes/Diaspora/static/114.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://guo.lu/wp-content/themes/Diaspora/static/72.png">
    <link rel="apple-touch-icon-precomposed" href="http://guo.lu/wp-content/themes/Diaspora/static/57.png">
    <link rel="icon" type="image/png" href="http://guo.lu/wp-content/themes/Diaspora/static/32.png" />

    我在网站是这样加的, iOS 有效,后面发现高版本的 Android chrome 也有效
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4570 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 10:04 · PVG 18:04 · LAX 03:04 · JFK 06:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.