Search code examples
iosxamarin.formsappdelegateportable-class-library

How to call Appdelegate function in PCL class using xamarin forms?


In my Xamarin Studio for MAC I use "Xamarin.Forms" solution. I want to use AppDelegate function in my PCL class. but I don't understand how to call.


Solution

  • You can't do it in pcl. There is 2 variants how to do this.

    Make abstraction lvl, in pcl create interface and in ios project implenent it.

    And second variants is to use MessageCenter.