Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
- NSArray *components = [deviceToken.description componentsSeparatedByCharactersInSet:[[NSCharacterSet alphanumericCharacterSet] invertedSet]];
- NSString *token = [components componentsJoinedByString:@""];
- //sent token to server
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement