Facebook与iOS5和iOS6 [英] Facebook with iOS5 and iOS6

查看:144
本文介绍了Facebook与iOS5和iOS6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将发布一个应用程序,它必须支持iOS5和iOS6。但是,随着新的Facebook SDK 3.1,我不太清楚如何将Facebook功能整合到两个iOS版本中。

I'm about to release an app and it must support both iOS5 and iOS6. But with the new Facebook SDK 3.1 i'm not quite sure on how to integrate the Facebook functionality to work with both iOS versions.

在iOS5和iOS6版本中,登录和墙发布操作的最佳方法是什么?有没有最好的做法?

What is the best approach to make both the login and wall posting actions to work in iOS5 and iOS6 version? Are there any best-practices already?

非常感谢提前!

推荐答案

最新的Facebook SDK同样支持这两种iOS版本。如果您使用iOS6,它将使用内置身份验证,否则会自动回退到旧的快速应用切换或Safari模型。

The latest Facebook SDK supports both iOS versions just as well. If you're on iOS6, it will use the built-in authentication, otherwise it'll automatically fallback to the old "fast-app-switching" or Safari model.

所以如果您实施3.1 SDK 您不必担心用户如何认证:

So if you implement the 3.1 SDK, you won't have to worry about how the user authenticates:


升级的主要目的是带来与iOS $ b的兼容性$ b v6.0及其原生Facebook支持。使用SDK的v3.1意味着
您的应用程序在可用时可从该支持中受益匪浅,但
自动回退使用以前的应用程序切换或
基于Web的认证流程在旧版本的操作
系统上。

The main purpose of the upgrade is to bring compatibility with iOS v6.0 and its native Facebook support. Using v3.1 of the SDK means that your apps benefit greatly from that support when it is available, but that they automatically fall back to use the previous app-switching or web-based authentication flows on older versions of the operating system.

更多关于在iOS上实现对内置Facebook帐户的支持6: http://developers.facebook.com/docs/howtos/ios-6/

More on implementing support for the built-in Facebook accounts on iOS 6: http://developers.facebook.com/docs/howtos/ios-6/

这篇关于Facebook与iOS5和iOS6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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