gpt4 book ai didi

ios - Swift FB 应用程序邀请显示空白页面

转载 作者:行者123 更新时间:2023-11-30 13:49:12 25 4
gpt4 key购买 nike

这只发生在 Iphone 9.2 上(测试了 2 部手机),但没有发生在 Iphone 9.1 上调用此函数时我收到空白页(未触发错误)。它会启动 safari 浏览器,但只有当我单击右侧的蓝色“safari”按钮时它才会起作用,它会将我带到包含内容的正确页面。某种广告拦截器?请指教。提前致谢。

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>

最佳答案

我重新启动手机,一切正常。 super 奇怪的问题。

关于ios - Swift FB 应用程序邀请显示空白页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34515641/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com