Guest User

Untitled

a guest
Jan 16th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@/browse/authentication/#", address]];
  2.  
  3. RKRequest *request = [RKRequest requestWithURL:url delegate:self];
  4. request.forceBasicAuthentication = YES;
  5. request.username = [loginField text];
  6. request.password = [passwordField text];
  7. [request send];
  8.  
  9. [RKRequest setForceBasicAuthentication:]: unrecognized selector sent to instance 0x348420
  10. *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RKRequest setForceBasicAuthentication:]: unrecognized selector sent to instance 0x348420'
Add Comment
Please, Sign In to add comment