Hi guys,
This is my first post on here so hopefully this works! 
Basically I’ve integrated Twitter authentication on the Login Screen within my iOS App using the following code:
**[[Twitter sharedInstance] logInWithCompletion:^(TWTRSession session, NSError error) {
if (session) {
NSLog(@“signed in as %@, User ID: %@”, [session userName],[session userID]);
[self performSelector:@selector(getTwitterEmail) withObject:nil afterDelay:1.0];
}
else {
NSLog(@“NO TWITTER SESSION - error: %@”, [error localizedDescription]);
}
}];
This works as expected, whereby I receive the users “userName” and “userID”. I then continue by requesting access to the users email address using the following code:
-(void)getTwitterEmail {
if ([[Twitter sharedInstance] session]) {
*TWTRShareEmailViewController shareEmailVC = [[TWTRShareEmailViewController alloc]initWithCompletion:^(NSString * _Nullable email, NSError * _Nullable error) {
NSLog(@“Email: %@, Error: %@”,email,error);
}];
[self presentViewController:shareEmailVC animated:YES completion:nil];
}
}
When the user selects allow access to the users email address, it should log the users email address, however the API returns null. I have contacted Twitter to ensure my App was whitelisted and they have confirmed that it is indeed whitelisted.
Can anyone point out where I have gone wrong or how to fix this problem?
Many thanks in advance!