title: initWithAppID not using native Facebook login with iOS SDK 3.1.1
body: <p>I have 2 iOS apps using the same Facebook APP ID.</p>
  
  <p>The first works great with the new native Facebook Login.</p>
  
  <p>While integrating with the paid version, I was following <a href="https://developers.facebook.com/docs/howtos/share-appid-across-multiple-apps-ios-sdk/" rel="nofollow">this guide</a> to share app ID between both apps.</p>
  
  <p><strong>The problem:</strong> For some reason the following code isn't using the native Facebook login, but opens Safari for a web login instead.</p>
  
  <pre><code>BOOL result = NO;
  
  FBSession *session = [[FBSession alloc] initWithAppID:nil
                                            permissions:permissions
                                        urlSchemeSuffix:@"paid"
                                     tokenCacheStrategy:nil];
  
  if (allowLoginUI || (session.state == FBSessionStateCreatedTokenLoaded)) {
      [FBSession setActiveSession:session];
      [session openWithCompletionHandler:^(FBSession *session, FBSessionState state, NSError *error) {
           [self sessionStateChanged:session state:state error:error];
       }];
      result = session.isOpen;
  }
  
  return result;
  </code></pre>
  
  <p>I was double checking that I was logged in with my Facebook account at the iPhone's settings window.</p>
  
  <p>No clue at Facebook docs about this.</p>
  
  <p>Have they released an unfinished/bugged SDK?</p>