Skip to content

Instantly share code, notes, and snippets.

@xtremepush-gists
Last active November 25, 2019 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xtremepush-gists/2fc1540dc900a82021d27b0b27774ab8 to your computer and use it in GitHub Desktop.
Save xtremepush-gists/2fc1540dc900a82021d27b0b27774ab8 to your computer and use it in GitHub Desktop.
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
[XPush applicationDidRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}
- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
[XPush applicationDidFailToRegisterForRemoteNotificationsWithError:error];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment