我使用Parse Facebook成功登录Facebook,当我尝试邀请朋友时,它首先在safari浏览器上提示登录窗口(应邀请朋友窗口)。它是在带有FB IOS 4.8 SDK的IOS9上。这是代码。
let content = FBSDKAppInviteContent()
content.appLinkURL = NSURL(string: "http://goo.gl/FW")
content.appInvitePreviewImageURL = NSURL(string: "http://goo.gl/FW")
FBSDKAppInviteDialog.showFromViewController(self, withContent: content, delegate: self)
答案 0 :(得分:0)