5

iOS, Android, and even BlackBerry allow you to specify an icon that is displayed when you bookmark a page to the device's homescreen. And now Windows 8 allows you to specify an icon that appears when a page is pinned to the start screen as follows:

<meta name="msapplication-TileImage" content="logo144.png"/>

However, this doesn't seem to apply to Windows Phone 8. Is that correct? Is there some other way in WP8 to specify an icon to be used (instead of a screenshot) that my Google ninja skills have failed uncover?

4

3 に答える 3

6

Windows Phone 8.1 では、メタ タグを使用して、画像、タイトル、タイルの色、さらにはプッシュ通知を指定できます。名前の使用について

<meta name="application-name" content="NAME HERE" />

タイルの色について

<meta name="msapplication-TileColor" content=" #009900" />

4 つのタイル サイズすべてのロゴ

<meta name="msapplication-square70x70logo" content="smalltile.png" />
<meta name="msapplication-square150x150logo" content="mediumtile.png" />
<meta name="msapplication-wide310x150logo" content="widetile.png" />
<meta name="msapplication-square310x310logo" content="largetile.png" />

ポーリングはより複雑なので、詳細はすべてここにあります

于 2015-01-21T11:26:55.447 に答える
2

残念ながら、Windows Phone は、[開始に固定] をクリックしたときに、現在のブラウザー ウィンドウのスクリーンショットのみを固定します。これを回避する方法はいくつかあります。カスタム画像を表示し、画像が表示されている間、ユーザーに固定するように求めるコードの例があります。すべての回避策では、ユーザーが画像をトリガーしてからブラウザのピン留め機能を使用する必要があるため、これには問題があります。しかし、それはかなりうまく機能しています。

サンプル コードへのリンク http://cdpn.io/jlEur

私があなただったら、このコードを公開する前に、少なくとも Cookie を使用して、ユーザーに「ピン」を既に要求しているかどうかを確認します。

于 2013-02-11T22:24:12.373 に答える
1

Webmonkeyによると:

「Windows Phone 8 用の IE 10 は、デスクトップ/タブレット リリースと同等の機能を備えていますが、Web 開発者が注意する必要があることがいくつかあります。これは、IE 10 がデスクトップではできるが、デスクトップではできないことのMicrosoft の完全なリストです。電話:

Windows 8 統合機能: リンク プレビュー、ピン留めされたサイト アイコンと通知、およびサイトとアプリの接続のサポート"

于 2012-12-26T18:01:40.430 に答える