Guest User

Untitled

a guest
Sep 26th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. NSString *username = @"[USERNAME]"
  2. NSString *tempPassword = @"[PASSWORD]"
  3. NSString *newPassword = @"[PASSWORD]"
  4. NSDictionary *args = [NSDictionary dictionaryWithObjectsAndKeys:username, @"username", tempPassword, @"password", newPassword, @"new_password" nil];
  5.  
  6. [[StackMob stackmob] loginWithArguments:args andCallback:^(BOOL success, id result) {
  7. if (success) {
  8. // Login Succeeded
  9. } else {
  10. // Login Failed
  11. }
  12. }];
Add Comment
Please, Sign In to add comment