简体   繁体   English

在固定到Windows Phone上的开始屏幕时,是否有办法使移动Web应用程序图标显示为图块?

[英]Is there a way to get a mobile webapp icon to apear as the tile when pinning to start screen on a Windows Phone?

I'm currently using a code snippet from the "HTML5 Mobile Boilerplate" project, but it doesn't seem to work. 我目前正在使用“ HTML5移动样板”项目中的代码段,但似乎无法正常工作。 Anyone know of a workaround for this? 有人知道解决方法吗?

<meta name="msapplication-TileImage" content="images/icon-144.png">

<meta name="msapplication-TileColor" content="#222222">

Unfortunatly those meta tags works only for sites pinned with Internet Explorer in Windows 8 (Here is a good reference for Windows 8: http://msdn.microsoft.com/en-us/library/ie/dn255024(v=vs.85).aspx ). 不幸的是,这些元标记仅适用于Windows 8中使用Internet Explorer固定的网站(这是Windows 8的很好参考: http : //msdn.microsoft.com/zh-cn/library/ie/dn255024(v=vs.85 ).aspx )。

You can't do the same for Windows Phone right now, see a similair question here which answer is still correct: Site icon on WP8 homescreen . 您现在无法对Windows Phone进行相同的操作,在此处看到一个类似的问题,该回答仍然正确: WP8主屏幕上的站点图标

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM