与谷歌登录到iPhone的SDK与iOS 5或更高版本 [英] login with google into iphone sdk with IOS 5 or Later

查看:132
本文介绍了与谷歌登录到iPhone的SDK与iOS 5或更高版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想与谷歌登录使用我的iPhone应用程序的认证和资源共享。是否有适用于谷歌整合到iPhone应用最新的IOS任何API或教程。

I want to login with google for authentication and share resources using my iphone application. Is there any API or tutorial available for integrating Google into iPhone Application for the latest IOS.

推荐答案

https://github.com/robbiehanson/ XMPPFramework

有关登录Google你提供用户名,密码和谷歌的服务器名称是talk.google.com

for login to google you have provide "username","password" and google server name that is "talk.google.com"

见上面链接xmppchat application.in APPDelegate.m委托方法有在那一个方法是didAuthenticate法

see above link for xmppchat application.in APPDelegate.m delegate methods are there in that one method is didAuthenticate method

- (void)xmppStreamDidAuthenticate:(XMPPStream *)sender
{


}

以上方法验证用户名和密码的正确与否。如果用户名和密码正确,那么它在网上告诉你给你的朋友。

Above method verifies username and password is correct or not. if username and password is correct then it show you online to your friends.

这篇关于与谷歌登录到iPhone的SDK与iOS 5或更高版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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