Update device token in installation table in parse ios
问题 I want to update device token in installation table on parse using iOS . To save a device token I did: PFInstallation *currentInstallation = [PFInstallation currentInstallation]; [currentInstallation setDeviceTokenFromData:(NSData*)[AppHelper userDefaultsForKey:@"token"]]; [currentInstallation setObject:[PFUser currentUser].objectId forKey:@"user"]; NSArray *channels = [NSArray arrayWithObjects:@"AnyString",nil]; currentInstallation.channels=channels; [currentInstallation saveInBackground]; I