且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

与谷歌登录到iPhone的SDK与iOS 5或更高版本

更新时间:2023-12-04 16:00:10

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.