Toast notification disappears after 10 sec in windows phone 8

你离开我真会死。 提交于 2019-12-13 07:47:35

问题


Toast notification disappears after 10 sec,if user does not tap on that and I am not able to get How to handle this, if user misses the notification.

Requirement is that toast should not disappear untill user taps on it.

One way of doing this is to send toast and tile notification at the same time.so that if user misses the toast notification then he may find it on tile.But not able to get how to do it using push sharp.So please suggest any solution for the following :

  • How to decide duration of toast notification using push sharp?
  • If 1st one is not possible then how to send toast and tile notification together using push sharp?

Thanks


回答1:


A toast notification displays for about 10 seconds unless the user dismisses it with a flick to the right. If the user taps the toast, by default, your app's start screen launches. Or, you can choose to specify which screen of your app will launch.

There is no way to override the duration of the toast notification.



来源:https://stackoverflow.com/questions/20098220/toast-notification-disappears-after-10-sec-in-windows-phone-8

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