应用程序打开Url方法在用户认证Facebook之后未调用 [英] application open Url method not called after user authenticates the facebook

查看:88
本文介绍了应用程序打开Url方法在用户认证Facebook之后未调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将ios应用程式中的Facebook升级到3.0,并使用 https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/ 通过Facebook登录用户,但问题是用户允许Facebook访问 - (BOOL)应用程序:(UIApplication *)应用程序
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
注释:(id)注释
方法未被调用。但有趣的是,当我创建一个新的应用程序并在该应用程序中集成相同的代码时,同样的方法被调用在那里。我使用的是xcode 4.4。任何建议为什么会发生在我现有的代码。

I have upgraded the facebook in my ios app to 3.0 and using the code provided at https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/ for user login through facebook , but the problem is that the after the user allows the facebook access the - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation method is not being called. But the interesting part is that when i create a new application and integrate the same code in that application the same method is being called there.I am using xcode 4.4. Any suggestion why is it happening with my existing code.

推荐答案

将xcode更新为4.5通用,正确工作,可能是xcode以前版本的问题。

updated the xcode to 4.5 GM for correct working , may be it was a problem with xcode previous version.

这篇关于应用程序打开Url方法在用户认证Facebook之后未调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆