Unable to login with TwitterKit for iOS

ios

#1

I put required value to my plist.
and I also implemented Log in Redirect for my app.
I just initailized TwitterKit with

[[Twitter sharedInstance] startWithConsumerKey:@"keykeykeykey"consumerSecret:@"secretsecretsecret"];
and called 
[[Twitter sharedInstance] logInWithCompletion:^(TWTRSession *session, NSError *error) {
  if (session) {
      NSLog(@"signed in as %@", [session userName]);
  } else {
      NSLog(@"error: %@", [error localizedDescription]);
  }
}];

When I call logInWithCompletion native Twitter app is opened but It just show my tweets.
If I back to my application completion handler is never called at all.
It also shows no error message I can’t figure out what I am missing.

I am using latest version of Twitter SDK and using iOS 10.2.1

I can log in with Android so It seems not related with twitter application setting.

Any help will be appreciated.
Thanks


#2

What is Twitter app version?