我是ejabberd的新手。我想通过我的iOS应用程序在服务器上添加新用户。Itriedwithmanycode这是从Google上找到的,但没有人能解决我的问题。我将模块设置为http://localhost:5280/admin/server/localhost/node/ejabberd@localhost/modules/启用mod_register也改ejabberd.yml来自etc/ejabberd的文件文件夹。还有我的在ejabberd@localhost监听的端口我使用下面的代码注册用户。NSXMLElement*query=[NSXMLElementelementW