FB SDK - safari不会解雇

时间:2015-12-11 20:22:27

标签: ios facebook

当用户尝试使用Facebook在应用程序中进行身份验证时,用户在其中授予权限后,safari窗口不会消失。 Safari重新加载页面并保持空白,而不是解雇并且不将用户返回到应用程序

我的appDelegate方法正在关注

 func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

     FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)

 return true

 }

 func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -> Bool {

    return FBSDKApplicationDelegate.sharedInstance().application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation)

 }

问题出在哪里?

0 个答案:

没有答案