Hmm… anything specific I can send to you to help ?
in AppDelegate.m i have:
[[Twitter sharedInstance] startWithConsumerKey:@"xxx" consumerSecret:@"yyy"];
In SharingViewController.m I have:
- (void)viewDidLoad
{
[super viewDidLoad];
self.fbLoginButton = [[FBSDKLoginButton alloc] init];
self.twitterLoginButton = [TWTRLogInButton buttonWithLogInCompletion:^(TWTRSession *session, NSError *error) {
if (session) {
NSLog(@"Twitter user signed in as %@", [session userName]);
} else {
NSLog(@"Twitter error: %@", [error localizedDescription]);
}
}];
}
The button is functional… an IBOutlet for this exists in SharingViewController.h and its wired up via the storyboard. Clicking the button launches Safari (this is run in iphone 7 simulator) where I enter credentials and authorize the app. It then returns to my application and I get the error in the log:
2017-08-04 14:49:41.737 cocorahs[22593:29558916] TWTRLogInButton was created with no completionBlock set
The twitter login button remains “Log In With Twitter” …
Thanks!