Skip to content

Instantly share code, notes, and snippets.

@aaronpk
Created August 20, 2012 22:47
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 aaronpk/3408798 to your computer and use it in GitHub Desktop.
Save aaronpk/3408798 to your computer and use it in GitHub Desktop.
[LQSession registerForPushNotificationsWithCallback:^(NSData *deviceToken, NSError *error) {
if(error){
NSLog(@"Failed to register for push notifications: %@", error);
} else {
NSLog(@"Got a push token! %@", deviceToken);
}
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment