How can i find the user id of current User who has logined through XCode In DropBox SDK. I need it done programmatically.
In your code after you've linked, you can add:
[self.restClient loadAccountInfo];
and the delegate:
- (void)restClient:(DBRestClient*)client loadedAccountInfo:(DBAccountInfo*)info {
NSLog(@"UserID: %@ %@", [info displayName], [info userId]);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With