Toast Notification Fails, Simulator

人走茶凉 提交于 2019-12-12 16:19:34

问题


I am using the toast notification sample here:

http://code.msdn.microsoft.com/windowsapps/Toast-notifications-sample-52eeba29

The toast notifications appear when I select local machine for testing. When I select simulator, all I see is XML. My manifest has toast enabled. Am I missing any steps?


回答1:


Toast notifications (and other APIs, including those related to tile updates and push notifications) do not work in the simulator. For testing and debugging, use "Local Machine" as the deployment target.



来源:https://stackoverflow.com/questions/12571173/toast-notification-fails-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!