jjzjj

precomposed

全部标签

iphone - 如何让 iOS 正确遵守 "apple-touch-icon-precomposed"的 "web app"链接属性

我已经为iOS创建了几个使用apple-touch-icon-precomposedlinkattributemethod的网络应用程序对于没有光泽的自定义主屏幕图标。但是,我最近遇到了一个问题,在添加主屏幕书签然后运行应用程序并退出应用程序(通过多任务处理)后,图标被应用了光泽!我不明白为什么会这样。我无法在iPad2上重现它,但在我运行4.3.3的iPhone3GS上一直会发生这种情况。还有,好像跟放在文件夹里有关系?该应用程序位于http://pattern86.com/apps/color如果您想检查代码。基本上是这样的:将应用程序添加到主屏幕。(没有光泽——此时一切都很好。)

javascript - "Preload"apple-touch-precomposed-icon 添加到主屏幕之前?

有什么方法可以“预加载”apple-touch-precomposed-icon,以便在将它添加到主屏幕之前就已经加载了吗?就目前而言(据我所见),您从Safari中点击“添加到主屏幕”,它会使用页面的屏幕截图,直到下载图标为止。我假设这是为了在页面加载时保留带宽。我试图将它作为img包含在页面上,希望它被缓存,但这似乎没有用。还有其他想法吗? 最佳答案 设置4个不同大小的图标。您的iDevice选择图片并将其设置为应用程序图标。例如这是我的主页,我还在工作^^ 关于javascript

html - 验证错误 "Bad value apple-touch-icon-precomposed for attribute rel on element link: Keyword apple-touch-icon-precomposed is not registered."

我在w3CHTML5验证器中遇到这个错误Line9,Column101:Badvalueapple-touch-icon-precomposedforattributerelonelementlink:Keywordapple-touch-icon-precomposedisnotregistered.…-icon-precomposed"sizes="72x72"href="images/sl/touch/m/apple-touch-icon.png">Syntaxoflinktypevalidfor:Awhitespace-separatedlistoflinktypesliste

html - 验证错误 "Bad value apple-touch-icon-precomposed for attribute rel on element link: Keyword apple-touch-icon-precomposed is not registered."

我在w3CHTML5验证器中遇到这个错误Line9,Column101:Badvalueapple-touch-icon-precomposedforattributerelonelementlink:Keywordapple-touch-icon-precomposedisnotregistered.…-icon-precomposed"sizes="72x72"href="images/sl/touch/m/apple-touch-icon.png">Syntaxoflinktypevalidfor:Awhitespace-separatedlistoflinktypesliste

html - 如何从 apache 日志中删除 apple-touch-icon-precomposed.png 错误并保留 iOS 图标效果

关于总结的标题。我想摆脱apple-touch-icon-precomposed.png日志中的所有那些404错误,而不必添加这样的图像,从而失去iOS图标效果。 最佳答案 我想到了两个想法:使用mod_rewrite强制错误,使用标志[F](403禁止),[G](410消失),或[R=404,L](“重定向”到404)。我认为这些会跳过错误日志。使用零长度文件(如果设备支持)。 关于html-如何从apache日志中删除apple-touch-icon-precomposed.png错