我正在为我的 iPhone 应用程序实现一个 XMPP 客户端,我已经完成了所有的事情(与其他用户聊天,显示其他用户的存在等)
但是我被困的一件事是,我无法从我的应用程序中注册新用户。我正在使用以下代码段,
if ([appDelegate.xmppStream supportsInBandRegistration])
[appDelegate.xmppStream registerWithPassword:txt_Password.text error:nil];
但是为此,supportsInBandRegistration方法总是返回NO并且永远不会调用registerWithPassword:方法。
请提供一些有关相同的帮助。