2015-12-29 35 views
0

這僅發生在iPhone 9.2(2個手機進行測試),而不是發生在iPhone 9.1 調用這個當我收到空白頁(觸發沒有錯誤)。它激發了Safari瀏覽器,但它只會工作,如果我點擊右邊藍色的「狩獵」按鈕,它會帶給我到正確的頁面內容。某種廣告攔截器? 請指教。 在此先感謝。斯威夫特FB應用邀請顯示空白頁

let content = FBSDKAppInviteContent() 
    content.appLinkURL = NSURL(string: facebookSetting.inviteLink + PFUser.currentUser()!.objectId!) 
    content.appInvitePreviewImageURL = NSURL(string: "http://someurl.jpg") 
    FBSDKAppInviteDialog.showFromViewController(self, withContent: content, delegate: self) 

下面是這個PINFO

<key>LSApplicationQueriesSchemes</key> 
<array> 
    <string>fbapi</string> 
    <string>fb-messenger-api</string> 
    <string>fbauth2</string> 
    <string>fbshareextension</string> 
    <string>whatsapp</string> 
    <string>wechat</string> 
    <string>line</string> 
    <string>instagram</string> 
    <string>fbapi20150629</string> 
    <string>https</string> 
    <string>http</string> 
</array> 
<key>LSRequiresIPhoneOS</key> 
<true/> 
<key>NSAppTransportSecurity</key> 
<dict> 
    <key>NSExceptionDomains</key> 
    <dict> 
     <key>fb.me</key> 
     <dict> 
      <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> 
      <false/> 
      <key>NSIncludesSubdomains</key> 
      <true/> 
     </dict> 
     <key>facebook.com</key> 
     <dict> 
      <key>NSIncludesSubdomains</key> 
      <true/> 
      <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> 
      <false/> 
     </dict> 
     <key>fbcdn.net</key> 
     <dict> 
      <key>NSIncludesSubdomains</key> 
      <true/> 
      <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> 
      <false/> 
     </dict> 
     <key>akamaihd.net</key> 
     <dict> 
      <key>NSIncludesSubdomains</key> 
      <true/> 
      <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> 
      <false/> 
     </dict> 
    </dict> 
</dict> 

回答

0

我重新啓動我的手機和它的工作。超級奇怪的問題。