简体   繁体   English

Facebook登录iOS应用程序

[英]Facebook login on iOS apps

I`m using Facebook to create a easy login to my application. 我正在使用Facebook创建一个轻松登录我的应用程序。

Until yesterday it was working fine, if i have the Facebook app open it, if not and i have multitask open safari, if not open a webview. 直到昨天它工作正常,如果我有Facebook应用程序打开它,如果没有,我有多任务打开safari,如果没有打开webview。

But today, i was adding push notifications to my app. 但今天,我正在向我的应用添加推送通知。 At the moment the only this i changed was the appID and the AppDelegate adding 目前我唯一改变的是appIDAppDelegate添加

[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound )];

in the build settings i selected my provision profile for this appID for debug and release. 在构建设置中,我为此appID选择了我的配置文件以进行调试和发布。

And now i don't know why but the login button is opening at the same time Facebook app, Safari and the webview. 现在我不知道为什么,但登录按钮同时打开Facebook应用程序,Safari和webview。 3 different ways opening at the same time. 3种不同的方式同时打开。

there is nothing at http://developers.facebook.com that correlates with this error. http://developers.facebook.com上没有任何内容与此错误相关。 does anyone know anything about it? 有谁知道它吗?

EDIT 编辑

I just have tested on other devices, apparently it only happens on my iPhone 4S with iOS 6.beta3 我刚刚在其他设备上进行了测试,显然它只发生在iOS 6.beta3的iPhone 4S上

I`ll close this question, sorry 我会关闭这个问题,抱歉

It is not a problem on my app, it is because i`m using iOS 6 beta 3 这不是我的应用程序的问题,这是因为我使用的是iOS 6 beta 3

don't know how to fix it but i`ll try Facebook help 不知道如何解决它,但我会尝试Facebook的帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM