title: Login doesn't work/stuck with Latest Facebook SDK
body: <p>I am running with an issue with using Facebook SDK(<strong>4.9.1</strong>) which opens in app browser for login if no system account present.</p>
  
  <p>Login from system Facebook account works well. I am using the following code</p>
  
  <pre><code>FBSDKLoginManager *manager = [[FBSDKLoginManager alloc] init];
     manager.loginBehavior = FBSDKLoginBehaviorSystemAccount;
     [manager logInWithReadPermissions:@[@"public_profile",@"email",@"user_friends"] fromViewController:controller handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
              if (error) {
                  success(kFacebookStatusFailed);
              } else if (result.isCancelled) {
                  success(kFacebookStatusCancelled);
              } else {
                  success(kFacebookStatusSuccess);
              }
  }];
  </code></pre>
  
  <p>I have correctly done all required info.plist settings defined <a href="https://developers.facebook.com/docs/ios/getting-started" rel="noreferrer">here</a>.</p>
  
  <p>The problem is when it logs in using inapp browser, actually using <strong>SafariViewController</strong> found by debugging. It goes through all login process but in the end it stucks in a white blank screen and doesn't dismiss, see screenshot below</p>
  
  <p><a href="https://i.stack.imgur.com/NCGRQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NCGRQ.png" alt="enter image description here"></a></p>
  
  <p>Have tried all possible steps but not able to get over it. But when I setup fresh project having nothing just the above login code and proper settings, all worked fine.</p>
  
  <p>The only difference in the Fresh Project and Original Project is number of different frameworks used in the app, like <strong>Crashlytics</strong>, <strong>Fabric</strong>, <strong>Instabug</strong>, <strong>Google Frameworks</strong> etc. Is there any reason that I should suspect these framework that is causing problem, I think NO. So, what could be the problem, anyone who faced the same problem and can help me will be greatly appreciated.</p>
  
  <p>Thank You.</p>