title: FBSDKAppInviteDialog always launches browser
body: <p>I need to send app invites in my app and want to use the native iOS Facebook app (if installed) for it.</p>
  
  <p>I'm running it on my iPhone with iOS 9.0.1 with the native Facebook app installed, however the dialog always launches the browser. It just does not launch the Facebook app.</p>
  
  <p>This is my code:</p>
  
  <pre><code>let appLinkUrl:NSURL = NSURL(string: "https://fb.me/xxx")!
  
  var inviteContent:FBSDKAppInviteContent = FBSDKAppInviteContent()
  inviteContent.appLinkURL = appLinkUrl
  
  FBSDKAppInviteDialog.showFromViewController(self, withContent: inviteContent, delegate: self)
  </code></pre>
  
  <p>My info.plist looks like this</p>
  
  <pre><code>&lt;key&gt;CFBundleURLTypes&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;fbxxx&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
  &lt;/array&gt;
  
  &lt;key&gt;FacebookAppID&lt;/key&gt;
  &lt;string&gt;xxx&lt;/string&gt;
  &lt;key&gt;FacebookDisplayName&lt;/key&gt;
  &lt;string&gt;xxx&lt;/string&gt;
  
  &lt;key&gt;LSApplicationQueriesSchemes&lt;/key&gt;
  &lt;array&gt;
      &lt;string&gt;fbapi&lt;/string&gt;
      &lt;string&gt;fb-messenger-api&lt;/string&gt;
      &lt;string&gt;fbauth2&lt;/string&gt;
      &lt;string&gt;fbshareextension&lt;/string&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p>And additionally all <code>NSAppTransportSecurity</code> related entries like in the quickstart guide.</p>