Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Código ioS adicionar userID (Facebook login ou Login Manual)
  2. PFInstallation *currentInstallation = [PFInstallation currentInstallation];
  3. [currentInstallation setObject:userID forKey:@"userID"];
  4. [currentInstallation saveInBackground];
  5.  
  6. // Código ioS delete userID (logout)
  7. PFInstallation *currentInstallation = [PFInstallation currentInstallation];
  8. [currentInstallation removeObjectForKey:@"userID"];
  9. [currentInstallation saveInBackground];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement