IconicTile没有在Windows Phone 8.0中更新

时间:2014-06-16 15:01:51

标签: windows-phone-8 windows-phone push-notification live-tile mpns

我已将IconicTile模板定义为我的应用程序的默认磁贴。现在我希望用通知计数更新我的磁贴。所以我发送了以下参数进行更新:

backgroundColor,
count,
title,
iconImage,
smallIconImage,
wideContent1,
wideContent2,
wideContent3

平铺更新在Windows Phone 8.1上运行的测试设备上工作正常,但它不会出现在Windows Phone 8.0上运行的设备和模拟器上。我在这里错过了什么?请帮忙

1 个答案:

答案 0 :(得分:0)

您的申请是针对WP8还是WP8.1

尝试在您的课程中添加此代码段。

IconicTileData TileData = new IconicTileData()
{
Title = "[title]",
Count = [count],
WideContent1 = "[1st row of content]",
WideContent2 = "[2nd row of content]",
WideContent3 = "[3rd row of content]",
SmallIconImage = [small Tile size URI],
IconImage = [medium/wide Tile size URI],
BackgroundColor = [.NET color type of Tile]
};

希望live tile is not updating in Windows Phone有所帮助。