我已将IconicTile模板定义为我的应用程序的默认磁贴。现在我希望用通知计数更新我的磁贴。所以我发送了以下参数进行更新:
backgroundColor,
count,
title,
iconImage,
smallIconImage,
wideContent1,
wideContent2,
wideContent3
平铺更新在Windows Phone 8.1上运行的测试设备上工作正常,但它不会出现在Windows Phone 8.0上运行的设备和模拟器上。我在这里错过了什么?请帮忙
答案 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]
};