In your FinishedLaunching method, register the application for remote notifications through the UIApplication object that you get in it:
Then, in the AppDelegate class AppDelegate override the RegisteredForRemoteNotifications method:
public override void RegisteredForRemoteNotifications (UIApplication application, NSData deviceToken) {
You must also override the FailedToRegisterForRemoteNotifications method to handle the error, if any:
public override void FailedToRegisterForRemoteNotifications (UIApplication application, NSError error) {
source share