Toast notification isn't working?

后端 未结 3 1549
悲哀的现实
悲哀的现实 2021-01-20 09:12

I\'m following several examples to do a toast notification when I click a button in my app. I stepped through the following example: http://msdn.microsoft.com/en-us/library/

相关标签:
3条回答
  • 2021-01-20 09:50

    Also, make sure that you have "toast capable" set in the manifest (Package.appxmanifest).

    0 讨论(0)
  • 2021-01-20 09:50

    in Package.appxmanifest file, ApplicationUI/Toast capable should be Yes in order to Show our toast notifications.

    0 讨论(0)
  • 2021-01-20 09:58

    I figured out the issue. I needed to set my app manifest to Toast Capable. I also noticed it doesn't work in simulator mode... But in Local Machine mode it worked.

    0 讨论(0)
提交回复
热议问题