0
我的應用程序是白名單,並且我正在獲得訪問權限中的電子郵件ID選項。我使用下面的代碼,我仍然在電子郵件中獲得零。Twitter在iOS中白名單後不返回電子郵件ID
if ([[Twitter sharedInstance] session]) {
TWTRShareEmailViewController* shareEmailViewController =
[[TWTRShareEmailViewController alloc]
initWithCompletion:^(NSString* email, NSError* error) {
NSLog(@"Email %@, Error: %@", email, error);
}];
[self presentViewController:shareEmailViewController
animated:YES
completion:nil];
} else {
// TODO: Handle user not signed in (e.g.
// attempt to log in or show an alert)
}
哪裏,就把這行代碼