Windows 10 为什么不是';我的SVG图像是否出现在我的windows 10中?
我正在尝试使用英雄图像创建Win10 toast通知,但由于某些原因,当我尝试使用SVG图像时,toast没有英雄通知 我在桌面应用程序中使用XML格式的toast,而不是UWP 将src引用更改为PNG或GIF图像效果良好;然而,对相关问题的其他回答表明SVG图像应该可以工作 我更喜欢使用SVG,因为我不想担心缩放问题 我的toast XML如下所示:Windows 10 为什么不是';我的SVG图像是否出现在我的windows 10中?,windows-10,toast,Windows 10,Toast,我正在尝试使用英雄图像创建Win10 toast通知,但由于某些原因,当我尝试使用SVG图像时,toast没有英雄通知 我在桌面应用程序中使用XML格式的toast,而不是UWP 将src引用更改为PNG或GIF图像效果良好;然而,对相关问题的其他回答表明SVG图像应该可以工作 我更喜欢使用SVG,因为我不想担心缩放问题 我的toast XML如下所示: <toast> <visual> <binding template="Toa
<toast>
<visual>
<binding template="ToastGeneric">
<text>Header text</text>
<text>Body text.</text>
<image placement="hero" src="file:///<path>/Images/toast-hero-image.svg"/>
<image placement="appLogoOverride" src="file:////<path>/Images/privacy-icon.svg"/>
</binding>
</visual>
<actions>
<action content="OK" activationtype="protocol" arguments="Ok"/>
<action content="Not right now" activationtype="system" arguments="dismiss"/>
</actions>
</toast>
标题文本
正文。