我使用Dependency Service实现Android和Ios App中的Notitfication。 如何在xamarin.forms中使用Click Event for Notification? 例如,当我点击通知打开PCl项目中的xaml页面时......
答案 0 :(得分:0)
使用MessagingCenter,为MessagingCenter.Send设置ContentPage类型或网址,然后设置MessagingCenter.Subscribe&负载
https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/messaging-center/
答案 1 :(得分:0)